Skip to content

Instantly share code, notes, and snippets.

@litvil
Forked from ryanwinchester/install_elixir_phoenix.sh
Created February 23, 2020 23:34
Show Gist options
  • Save litvil/bd6d31398f788f748c012e818bd308bb to your computer and use it in GitHub Desktop.
Save litvil/bd6d31398f788f748c012e818bd308bb 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 https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment