For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
Install Mojo
Version: Nightly
Mojo installs exactly like a Python or Conda package on macOS and Linux (see the system requirements).
- uv
- pixi
-
If needed, install
uv:curl -LsSf https://astral.sh/uv/install.sh | sh -
Install Mojo:
uv pip install mojo \--index https://whl.modular.com/nightly/simple/ \--prerelease allowOr create a project and install Mojo:
uv init hello-worldcd hello-worlduv add mojo \--index https://whl.modular.com/nightly/simple/ \--prerelease allow
-
If needed, install
pixi:curl -fsSL https://pixi.sh/install.sh | sh -
Create a project and install Mojo:
pixi init hello-world \-c https://conda.modular.com/max-nightly/ -c conda-forgecd hello-worldpixi add mojo
These commands install the nightly build, which isn't complete and might have new bugs. If you instead want the stable build, switch to the stable docs.
Get the VS Code extension
For syntax highlighting, code completion, and debugging support, install the Mojo extension from:
Get Mojo skills
Mojo agent skills keep your AI coding assistants aligned with the latest language updates and best practices.
Install with:
npx skills add modular/skills