Skip to main content

Install guide

You can install all the Modular APIs and tools (including MAX and Mojo) as a single package called modular, using any Python or Conda package manager. On this page, we show how to install using pip, uv, conda, and pixi.

The modular package is available as a nightly and a stable build. You can also select the latest nightly or stable documentation, using a drop-down in the website header. By default, we show the nightly version so you always see the latest APIs and documentation.

If you just want to get started, instead see our quickstart guide.

Install

To get the latest performance improvements and new features, we recommend installing our nightly build, which we release several times a week. If you want a better tested but slightly older version, you can install a stable build. (Each stable release is described in the changelog.)

  1. If you don't have it, install pixi:
    curl -fsSL https://pixi.sh/install.sh | sh
    curl -fsSL https://pixi.sh/install.sh | sh

    Then restart your terminal for the changes to take effect.

  2. Create a project:
    pixi init example-project \
    -c https://conda.modular.com/max-nightly/ -c conda-forge \
    && cd example-project
    pixi init example-project \
    -c https://conda.modular.com/max-nightly/ -c conda-forge \
    && cd example-project
  3. Install the modular conda package:
    pixi add modular
    pixi add modular
  4. Start the virtual environment:
    pixi shell
    pixi shell

The modular package installs MAX, Mojo, and other package dependencies.

Uninstall

You can uninstall modular from your virtual environment with the following command:

pip uninstall modular
pip uninstall modular

To deactivate your virtual environment, run:

deactivate
deactivate

What's included

The modular Python wheel installs the following:

pip known issues:

  • The Mojo LSP isn't included. However, if you're using VS Code, the Mojo LSP is provided by the Mojo VS Code extension. We're working to make the Mojo LSP also available separately.

  • The Mojo debugger isn't included. If you want to develop with Mojo, we currently recommend you install the modular conda package with pixi or conda.

Was this page helpful?