Update MAX
If you've already installed MAX, follow these instructions to get the latest version, instead of repeating the install guide.
If you previously installed only Mojo, you need to now install MAX, which includes everything for Mojo developers and a unified toolkit for AI developers. To get the latest version of Mojo, follow the guide to install MAX.
First, check your current version like this:
max --version
And compare your version to the latest stable version in the MAX changelog. Or if you installed a nightly build, look for release announcements in this Discord channel.
If it's time for an update, here's what to do:
- Stable
- Nightly
-
Make sure you have the latest
modular
CLI:- Mac
- Linux
brew update \
&& brew upgrade modularsudo apt update \
&& sudo apt install modular -
Update the
max
package:modular update max
-
Upgrade the
max-engine
Python package:MAX_PATH=$(modular config max.path) \
&& python3 -m pip install --upgrade --find-links $MAX_PATH/wheels max-engine
-
Make sure you have the latest
modular
CLI:- Mac
- Linux
brew update \
&& brew upgrade modularsudo apt update \
&& sudo apt install modular -
Update the
max
package:modular update nightly/max
-
Upgrade the
max-engine
Python package:MAX_NIGHTLY_PATH=$(modular config max-nightly.path) \
&& python3 -m pip install --upgrade --find-links $MAX_NIGHTLY_PATH/wheels max-engine
Now you should be all set with the latest version of MAX!