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 updateSystem & 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 autoconfInstalling Erlang:
$ brew install erlangDependencies:
- Erlang
Installing Elixir:
$ brew install elixirDepenencies:
To install postgres:
$ brew install postgresqlNote: 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