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: 1.0.0b2
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 --prerelease allowOr create a project and install Mojo:
uv init hello-worldcd hello-worlduv add mojo --prerelease allow
Note that the --prerelease allow flag is required only when installing beta
(or dev) builds.
-
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/ -c conda-forgecd hello-worldpixi add mojo
If you instead want the latest nightly build, switch to the nightly 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