Skip to content

Instantly share code, notes, and snippets.

@ryanwinchester
Last active March 26, 2024 17:01
Show Gist options
  • Save ryanwinchester/75a1a423e1675844f6a08adca147a42b to your computer and use it in GitHub Desktop.
Save ryanwinchester/75a1a423e1675844f6a08adca147a42b to your computer and use it in GitHub Desktop.
Install Elixir and Phoenix on macOS
# Update brew
brew update
# Need postgres
brew install postgresql
# Install elixir
brew install elixir
# Install hex package manager
mix local.hex
# Start postgres
brew services start postgresql
# Optional install default postgres user
createuser -d postgres
# Install phoenix
mix archive.install hex phx_new
@Sleepful
Copy link

Sleepful commented Aug 2, 2021

  1. brew install asdf
  2. thoughtbot/dotfiles#577 (comment)
$ asdf plugin add erlang
$ asdf install erlang
$ asdf global erlang 
$ asdf plugin add elixir
$ asdf install elixir
$ asdf global elixir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment