Skip to main content

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:

  1. If you don't have it, install pixi:
    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
  3. Install modular (nightlyTo get the stable build, change the version in the website header.):
    pixi add modular
  4. Start the virtual environment:
    pixi shell

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

Uninstall

You can uninstall modular from your virtual environment with this command:

pixi remove modular

To deactivate your virtual environment, run:

exit

What's included

Here's a summary of what's in the modular package.

The modular Conda package installs the following:

pixi known issues:

  • You might encounter issues if you invoke pixi within a conda virtual environment. It's best if you don't mix the two tools.

System requirements

To install modular, your system must meet these specifications.

  • 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 MetalToolchain to install the Metal utilities required for GPU programming.

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

GPUArchitecture
Tested for serving
B200Blackwell
H100Hopper
H200Hopper
Known compatible for development
B300Blackwell
B100Blackwell
L4Ada Lovelace
L40Ada Lovelace
A100Ampere
A10Ampere
RTX 50XX seriesBlackwell
RTX 40XX seriesAda Lovelace
RTX 30XX seriesAmpere
Jetson Orin / Orin NanoAmpere

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

GPUArchitecture
Tested for serving
MI355XCDNA4
MI300XCDNA3
MI325XCDNA3
Known compatible for development
MI250XCDNA2
Radeon RX 9070RDNA4
Radeon RX 9060RDNA4
Radeon 880MRDNA3.5
Radeon 860MRDNA3.5
Radeon 8060SRDNA3.5
Radeon RX 7900RDNA3
Radeon RX 7800 / 7700RDNA3
Radeon RX 7600RDNA3

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?