This install guide was written for Mac OS X, and Homebrew is required.
If you do not have Homebrew installed, you will find instructions here.
If you do have Homebrew installed, you will want to update it, just in case:
$ brew update
System & dependency versions:
- Mac OS X: El Capitan, Version 10.11.4 (15E65)
- Homebrew: 0.9.9 (git revision 9a9a9; last commit 2016-05-04)
Versions installed:
- Erlang: Erlang/OTP 18 [erts-7.3]
- Elixir: 1.2.5
- Phoenix: v1.1.4
- Mix: 1.2.5
Dependencies:
- XCode Developer Tools
- autoconf
Installing dependencies:
# Installs XCode Developer Tools
$ xcode-select --install
# Installs autoconf
$ brew install autoconf
Installing Erlang:
$ brew install erlang
Dependencies:
- Erlang
Installing Elixir:
$ brew install elixir
Depenencies:
To install postgres:
$ brew install postgresql
Note: Phoenix install will also install Ecto, Cowboy and Plug.
Installing Phoenix:
# Install Hex (package manager)
$ mix local.hex
# Install Phoenix archive
$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez