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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mojo-1.0.0-py3-none-manylinux_2_34_x86_64.whl (47.8 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

mojo-1.0.0-py3-none-manylinux_2_34_aarch64.whl (46.7 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ ARM64

mojo-1.0.0-py3-none-macosx_13_0_arm64.whl (35.0 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file mojo-1.0.0-py3-none-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: mojo-1.0.0-py3-none-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 47.8 MB
  • Tags: Python 3, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for mojo-1.0.0-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 725d6b7f29a5a3334e3c225f35f2b709fd46151a0a31a2c22738b1937dfc83d9
MD5 4d434e916655eacff27312a8f36e53e5
BLAKE2b-256 c489326637e71282288e7d3a8ef2990dbf9fbfb07c1b3d21b836ffe2ee3111a9

See more details on using hashes here.

File details

Details for the file mojo-1.0.0-py3-none-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for mojo-1.0.0-py3-none-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 a6db18b2846ec4877c5cd43a2dce1556400520dc0d4450dc8b4703dab569e9a2
MD5 acaa2eb550c7782a9b65615f84c16408
BLAKE2b-256 31e3d429fb53aa018e592dc378def8a92c67d0978078c8c30d089019195a285f

See more details on using hashes here.

File details

Details for the file mojo-1.0.0-py3-none-macosx_13_0_arm64.whl.

File metadata

  • Download URL: mojo-1.0.0-py3-none-macosx_13_0_arm64.whl
  • Upload date:
  • Size: 35.0 MB
  • Tags: Python 3, macOS 13.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for mojo-1.0.0-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 69413fee96dfd43c4955ace56e4bb0f89401098daf61538a563c82571bc9d984
MD5 3614e147d71773b2b5bd80478a383bc4
BLAKE2b-256 e1f080f6d88e19c038b2ef251b137379663a61227d6918602d8d3f702121b7cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page