If I run mix local.hex
, I'd get the latest version of Hex. How can I:
To install an older version of hex, use mix hex.install
. See mix help hex.install
:
mix hex.install
Manually installs specific Hex version.
mix hex.install VERSION
I don't know how to list the available hex versions from the command line, but the changelog on GitHub should be useful.