elixirelixir-mixhex-pm

How to install an older version of Hex?


If I run mix local.hex, I'd get the latest version of Hex. How can I:


Solution

  • 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.