When you open the Phoenix Framework website, you will see a section on the right-side called "Try it now", where you will install the Phoenix project generator.
$ mix archive.install hex phx_new
Nice, but if I want to choose which version I want, So I need to uninstall any phx_new
version installed first, and then I can choose which version I want to install.
$ mix archive.uninstall phx_new
$ mix archive.install hex phx_new VERSION
Install Phoenix 1.7 release candidate and LiveView 0.18:
$ mix archive.install hex phx_new 1.7.0-rc.2
Top comments (3)
nice!!! thats good to know
Oh yes, I just like to test the latest Phoenix version, and I didn't know how to install a specific version I like, so after that I thought I should write a post about it.
Saved me much time and headache. Thanks!