May 2019
Intermediate to advanced
336 pages
10h 45m
English
Hex is the package manager for Elixir, and because Phoenix is a package, you need to ensure that Hex is installed. After you successfully install Elixir, run the following command:
> mix local.hex
Phoenix itself uses Mix to run commands related to working with Phoenix applications. Because of that, a special archive file needs to be downloaded by Hex:
> mix archive.install hex phx_new 1.4.0
This file, once installed by Mix, is used along with Mix to create new Phoenix applications.
Note that this archive is tied to a specific version of Phoenix (1.4.0, in this case). When Phoenix updates its generators, you need to rerun this command with the new version number.
This isn’t technically a prerequisite, ...
Read now
Unlock full access