Packages
All the Modular APIs and tools (including MAX and Mojo) are included in a
single Python/Conda package named modular. This page explains what's in the
package and shows how to install it.
If you just want to get started with Modular, instead see our quickstart guide.
Package managers
You can install modular as a Python or Conda package. The install
instructions below include commands for popular package managers such as
pixi, uv, pip, and conda, but you can also use something else.
Traditional tools like pip and conda might be necessary for existing
production environments or Docker containers, but for your local development,
we recommend using Pixi.
Pixi is both a package manager and virtual environment manager, which alone makes development a lot easier, but it's also language agnostic, extremely fast, and includes lock files to easily reproduce your project environment.
You'll notice that our GitHub code
examples include a
pixi.toml file. This file configures the environment to make sure we all use
the same packages and get the same results—you just need to install pixi.
So if you're not set on using a particular package manager, we suggest you try
pixi. If you haven't used it before, check out our Pixi basics guide
or the official Pixi docs.
Install
To get the latest improvements and new features, we recommend installing our nightly build, which we release several times a week. If you want a better tested but older version, you can install a stable build. (Each release is described in the changelog.)
System requirements:
Mac
Linux
WSL
- pixi
- uv
- If you don't have it, install
pixi:curl -fsSL https://pixi.sh/install.sh | shThen restart your terminal for the changes to take effect.
- Create a project:
pixi init example-project \ -c https://conda.modular.com/max-nightly/ -c conda-forge \ && cd example-project - Install
modular(nightly):pixi add modular - Start the virtual environment:
pixi shell
- If you don't have it, install
uv:curl -LsSf https://astral.sh/uv/install.sh | shThen restart your terminal to make
uvaccessible. - Create a project:
uv init example-project && cd example-project - Create and start a virtual environment:
uv venv && source .venv/bin/activate - Install
modular(nightly):uv pip install modular \ --index https://whl.modular.com/nightly/simple/ \ --prerelease allow
The modular package installs MAX, Mojo, and other package dependencies.
Uninstall
- pixi
- uv
- pip
- conda
You can uninstall modular from your virtual environment with this
command:
pixi remove modularTo deactivate your virtual environment, run:
exitYou can uninstall modular from your virtual environment with the following
command:
uv pip uninstall modularTo deactivate your virtual environment, run:
deactivateYou can uninstall modular from your virtual environment with the following
command:
pip uninstall modularTo deactivate your virtual environment, run:
deactivateYou can uninstall modular from your virtual environment with this
command:
conda remove modularTo deactivate your virtual environment, run:
deactivateWhat's included
Here's a summary of what's in the modular package.
- conda/pixi
- pip/uv
The modular Conda package installs the following:
- MAX tools and libraries:
- The
mojopackage:mojoCLI (includes the Mojo compiler)- Mojo standard library
- Mojo language server (LSP) for IDE/editor integration
- Mojo debugger (includes LLDB)
- Mojo code formatter
- Mojo REPL
pixi known issues:
- You might encounter issues if you invoke
pixiwithin acondavirtual environment. It's best if you don't mix the two tools.
The modular Python wheel installs the following:
- MAX tools and libraries:
- The
mojopackage:mojoCLI (includes the Mojo compiler)- Mojo standard library
- Mojo language server (LSP) for IDE/editor integration
- Mojo debugger (includes LLDB)
- Mojo code formatter
- Mojo REPL
System requirements
To install modular, your system must meet these specifications.
- Mac
- Linux
- Windows
- macOS Sequoia (15) or later
- Apple silicon (M1 - M5 processor)
- Python 3.10 - 3.14
- Xcode or Xcode Command Line Tools 16 or later
- Apple silicon GPU support is available for Mojo GPU programming. See
GPU compatibility for details. You may need to run
xcodebuild -downloadComponent MetalToolchainto install the Metal utilities required for GPU programming.
- Ubuntu 22.04 LTS
- x86-64 CPU (with SSE4.2 or newer) or AWS Graviton2/3 CPU
- Minimum 8 GiB RAM (or much more, depending on the model you run)
- Python 3.10 - 3.14
- g++ or clang++ C++ compiler
- To use GPUs, see the GPU compatibility
Windows is not officially supported at this time.
In the meantime, you can try MAX on Windows with WSL, using a compatible version of Ubuntu (see our requirements for Linux).
GPU compatibility
MAX supports both CPUs and GPUs, so you don't always need a GPU to serve a model. But if you want to accelerate inference with GPUs or program for GPUs with Mojo, the following GPUs are compatible.
NVIDIA GPUs
| GPU | Architecture |
|---|---|
| Tested for serving | |
| B200 | Blackwell |
| H100 | Hopper |
| H200 | Hopper |
| Known compatible for development | |
| B300 | Blackwell |
| B100 | Blackwell |
| L4 | Ada Lovelace |
| L40 | Ada Lovelace |
| A100 | Ampere |
| A10 | Ampere |
| RTX 50XX series | Blackwell |
| RTX 40XX series | Ada Lovelace |
| RTX 30XX series | Ampere |
| Jetson Orin / Orin Nano | Ampere |
Software requirement: NVIDIA GPU driver 580 or later. Check your version with
nvidia-smi. To
update, see the NVIDIA driver docs. If
your driver is older than 580, set the MODULAR_NVPTX_COMPILER_PATH environment
variable to a system ptxas binary (for example,
export MODULAR_NVPTX_COMPILER_PATH=/usr/local/cuda/bin/ptxas).
AMD GPUs
| GPU | Architecture |
|---|---|
| Tested for serving | |
| MI355X | CDNA4 |
| MI300X | CDNA3 |
| MI325X | CDNA3 |
| Known compatible for development | |
| MI250X | CDNA2 |
| Radeon RX 9070 | RDNA4 |
| Radeon RX 9060 | RDNA4 |
| Radeon 880M | RDNA3.5 |
| Radeon 860M | RDNA3.5 |
| Radeon 8060S | RDNA3.5 |
| Radeon RX 7900 | RDNA3 |
| Radeon RX 7800 / 7700 | RDNA3 |
| Radeon RX 7600 | RDNA3 |
Software requirement: AMD GPU driver 6.3.3 or later (MI355X requires ROCm 7.0 or later). For installation, see the Ubuntu native install guide.
Apple silicon GPUs
Apple silicon GPU support (M1--M5) is functional for GPU programming with Mojo. Large GenAI model inference via MAX isn't yet available on Apple silicon. For details, see the Mojo system requirements.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!