Skip to main content

Mojo

Mojo is a systems programming language specifically designed for high-performance AI infrastructure and heterogeneous hardware. Our vision for Mojo is to be the one programming language developers need to target diverse hardware—CPUs, GPUs, and other accelerators—using Python's intuitive syntax combined with modern systems programming capabilities. Of course, Mojo also provides strong interoperability with Python.

NOTE: Not available for Windows.

What's in mojo

The mojo package includes everything you need to program with Mojo, including the Mojo compiler, standard library, language server (LSP), debugger (LLDB), and more.

Not included but recommended is the Mojo extension for VS Code.

Get started with pip

  1. Install Mojo:

    pip install mojo
    

    If you want the nightly build, instead use:

    pip install --pre mojo \
      --extra-index-url https://whl.modular.com/nightly/simple/
    
  2. Write some code:

    # hello.mojo
    def main():
        print("Hello, World!")
    
  3. Run the code:

    mojo hello.mojo
    
    Hello, World!
    

Using pip is great for existing Python-based environments, but if you're getting started for the first time, we recommend instead installing with pixi or uv. For more information, see the Mojo quickstart guide.

Release files for mojo 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for mojo 1.1.0
File Interpreter ABI Platform
mojo-1.1.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
mojo-1.1.0-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details
mojo-1.1.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details

Total release size: 132.3 MB

Release files / mojo-1.1.0-py3-none-manylinux_2_34_x86_64.whl

Download URL mojo-1.1.0-py3-none-manylinux_2_34_x86_64.whl
Size 48.9 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
aa95383d960d2d7a8738117ed808df745fa5fc92d24566ac73e775a8defe832d
BLAKE2b-256 checksum
How to use checksums
ddc04118df04da5776700839642477bdda0b1f906a99c69c8f2f94d4aea9fef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mojo-1.1.0-py3-none-manylinux_2_34_aarch64.whl

Download URL mojo-1.1.0-py3-none-manylinux_2_34_aarch64.whl
Size 47.7 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
318d467ccdcef9caef1a77792758806672b59881f90fc2e820e71bd59de041e2
BLAKE2b-256 checksum
How to use checksums
2299ce31f21811ed70c7499ed4db6780af0c0ea51833ae7214f696977d3f451b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / mojo-1.1.0-py3-none-macosx_13_0_arm64.whl

Download URL mojo-1.1.0-py3-none-macosx_13_0_arm64.whl
Size 35.8 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
b913389621a243725253872b4815f49fb98a7708d3214816de7fd6e72bf2a25d
BLAKE2b-256 checksum
How to use checksums
68e9f535cccbb05c92c92af9b45f719994dd54c78d1c9964392dc6e15a3c345d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page