Requirements:
- Erlang 18 or later
- Elixir 1.4 or later
- Phoenix 1.3
- Node.js 6.4.0 or later
Links:
Recommend using asdf:
https://github.com/asdf-vm/asdf
https://www.icicletech.com/blog/elixir-and-erlang-setup-with-asdf-version-manager
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.4.0
$ asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs
$ asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang
$ asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir
$ asdf list-all erlang # list all erlang versions available
$ asdf install erlang 20.0
$ asdf list-all elixir # list all elixir versions available
$ asdf install elixir 1.5.2
$ asdf list-all nodejs # list all nodejs versions available
$ asdf install nodejs 8.6.0
Install Phoenix
$ mix local.hex
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez
Elixir & Erlang/OTP
elixir -v
Phoenix
$ mix phx.new -v
Once you've completed this, head over to the tutorial and build yourself a chat app!!