Metadata-Version: 2.1
Name: mojo
Author: Modular Inc
Author-email: hello@modular.com
Home-page: https://modular.com
License: LicenseRef-MAX-Platform-Software-License
Description-Content-Type: text/markdown
Summary: The Mojo programming language
Project-URL: Changelog, https://docs.modular.com/mojo/changelog
Project-URL: Discord, https://discord.com/invite/modular
Project-URL: Documentation, https://docs.modular.com/mojo/
Project-URL: Forum, https://forum.modular.com/c/mojo
Project-URL: Issues, https://github.com/modular/modular/issues
Project-URL: Source, https://github.com/modular/modular/tree/main/mojo
Requires-Dist: mojo-compiler==1.0.0b1
Requires-Dist: mblack==26.3.0
Requires-Dist: mojo-lldb-libs==1.0.0b1
Version: 1.0.0b1

<h1 align="center">
    <img
      src="https://modular-assets.s3.amazonaws.com/images/mojo_github_logo_bg.png?20250905"
      alt="Mojo">
</h1>

<div align="center">

  [Get started] | [API docs] | [Changelog] | [GitHub]

</div>

[Get started]: https://docs.modular.com/mojo/manual/get-started/
[API docs]: https://docs.modular.com/mojo/lib
[Changelog]: https://docs.modular.com/mojo/changelog
[GitHub]: https://github.com/modular/modular/tree/main/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](https://docs.modular.com/mojo/manual/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](https://marketplace.visualstudio.com/items?itemName=modular-mojotools.vscode-mojo).

## Get started with `pip`

1. Install Mojo:

    ```sh
    pip install mojo
    ```

    If you want the nightly build, instead use:

    ```sh
    pip install --pre mojo \
      --extra-index-url https://whl.modular.com/nightly/simple/
    ```

2. Write some code:

    ```mojo
    # hello.mojo
    def main():
      print("Hello, World!")
    ```

3. Run the code:

    ```sh
    mojo hello.mojo
    ```

    ```output
    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`. For more information, see the [Mojo install
guide](https://docs.modular.com/mojo/manual/install).

