Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check Phoenix (Elixir framework) installed version?

I would like to check Phoenix framework version from the command line like I check for Elixir (elixir -v)

like image 903
palerdot Avatar asked Jan 03 '23 07:01

palerdot


1 Answers

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

like image 179
palerdot Avatar answered Apr 25 '23 16:04

palerdot