How can I check Phoenix version?

Hello, how can I check the Phoenix version ?

Thanks !

6 Likes

mix phoenix.new --version

11 Likes

Thank you !

2 Likes

Both commands

mix phoenix.new --version
mix phx.new --version

Will only give you the version of the installed phoenix generator, it will not tell you the version of phoenix in a project. To learn about the version of phoenix in a given project one has to check the mix.exs file to learn about the version constrains or mix.lock to learn the exact version.

8 Likes

Thanks

Well Explained. Thanks.