0

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

  • list available versions;
  • install an older version?
Alexander Popov
  • 23,073
  • 19
  • 91
  • 130

1 Answers1

1

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.

zwippie
  • 15,050
  • 3
  • 39
  • 54