Last active
March 26, 2024 17:01
-
-
Save ryanwinchester/75a1a423e1675844f6a08adca147a42b to your computer and use it in GitHub Desktop.
Install Elixir and Phoenix on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
- brew install asdf
- 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
@puemos, thanks this is way outdated