D:\Projects>mix phoenix.new blog
** (Mix) The task “phoenix.new” could not be found
D:\Projects>mix local.hex
Found existing archive: c:/Users/Dell-Latitude/.mix/archives/hex-0.13.0.
Are you sure you want to replace it with “https://repo.hex.pm/installs/1.3.0/hex-0.13.0.ez”? [Yn] Y
EDIT: You can setup a phoenix app manually without the templates if you want, just specify the versions in your mix.exs file as normal, but the templates (which are what add phoenix.new do the setup work for you, making it easy, but still entirely optional).
Hi. I used what is marked in this thread and before that was following the the course on Udemy. The Complete Elixir and Phoenix Bootcamp. I will look into what you have provided.
I saw Thank you. The course is a few years old as well. I did not think to look at the documents website. Will try and remember that option going forward.
I’d carefully check the version of phoenix they require you to use, and if it is not ~> 1.5, I’d search for a different course and ask for a refund if paid.
If I recall correctly, phx.new became a thing with 1.4 and 1.5 removed phoenix.new utlimatively. 1.4 got released 2018. So anything that still uses phoenix.new is probably refering to 1.3 and massively outdated.