Upgrade phx.new version


I just upgraded my elixir version from 1.12 to 1.14 and Erlang version to 25.

When I create a new phoneix project (mix phx.new hello_world), I still get elixir version = 1.12, here is the result of of my mix phx.new --version : Phoenix installer v1.6.6

How can I update the linked elixir version with my phx ?


First a foremost: how do you install Elixir and Erlang? asdf, apt, rpm?

If you’re talking about the elixir: "~> 1.12", line in mix.exs, then that’s correct as is. This is not “your elixir version”, but rather the minimal elixir version supported by the code phoenix generators generate.

Windows installer