I would like to check Phoenix framework version from the command line like I check for Elixir (elixir -v)
I was able to do it with
# for >= v1.3
mix phx.new --version
# for < v1.3
mix phoenix.new --version
after navigating to the folder containing the phoenix app. I got the cue from here. Hope it helps someone facing the same query.
In case, you already have older version of phx.new, you can try
mix local.hex
mix archive.install hex phx_new
commands to upgrade phx.new installer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With