IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0b2
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).

  1. If needed, install uv:

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Install Mojo:

    uv pip install mojo --prerelease allow

    Or create a project and install Mojo:

    uv init hello-world
    cd hello-world
    uv add mojo --prerelease allow

Note that the --prerelease allow flag is required only when installing beta (or dev) builds.

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

Get started