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
uv pip install mojo \
--index https://whl.modular.com/nightly/simple/ \
--prerelease allow
Or add Mojo to a project:
uv init hello-world
cd hello-world
uv add mojo \
--index https://whl.modular.com/nightly/simple/ \
--prerelease allow
pixi init hello-world \
-c https://conda.modular.com/max-nightly/ -c conda-forge
cd hello-world
pixi add mojo
This installs 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