# Mojo Global Access

**URL:** <https://forum.modular.com/t/mojo-global-access/2218>\
**Category:** Mojo\
**Tags:** discussion, mojo-compiler\
**Created:** [September 3, 2025, 8:09pm UTC](https://forum.modular.com/t/mojo-global-access/2218 "2025-09-03T20:09:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![melih](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@melih](https://forum.modular.com/u/melih)\
**Post date:** [September 3, 2025, 8:09pm UTC](https://forum.modular.com/t/mojo-global-access/2218/1 "2025-09-03T20:09:48Z")

</div>

Hi everyone.

Can I run Mojo on my computer directly, like Node.js or Go, without installing modules into any folder? I want to install Mojo globally on my computer, but I think the Mojo CLI isn’t working, and the documentation shows me installing modules directly into a folder and then running Mojo.

For example;  
I can run `go init` and compile `main.go` with `go build`. However, since I can’t do a global installation in Mojo, I have to add `modular` with Pixi in every folder. Is there no way to globalize this? It would also save memory in multi-project setups.

---

<div class="post-metadata">

**Author:** ![Ehsan](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/ehsan/32/142_2.png) [@Ehsan](https://forum.modular.com/u/Ehsan)\
**Post date:** [September 3, 2025, 9:39pm UTC](https://forum.modular.com/t/mojo-global-access/2218/2 "2025-09-03T21:39:41Z")

</div>

You can do that with [pixi](https://pixi.sh/latest/#installation)

- Install nightly `mojo`

```auto
pixi global install mojo -c conda-forge -c https://conda.modular.com/max-nightly

```

- Install latest stable `mojo` (or add version `mojo==25.5.0`)

```auto
pixi global install mojo -c conda-forge -c https://conda.modular.com/max

```

---

<div class="post-metadata">

**Author:** ![BradLarson](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.modular.com/bradlarson/32/62_2.png) [@BradLarson](https://forum.modular.com/u/BradLarson)\
**Post date:** [September 3, 2025, 9:47pm UTC](https://forum.modular.com/t/mojo-global-access/2218/3 "2025-09-03T21:47:14Z")

</div>

There are a couple of ways to install `mojo` globally. One is via Pixi global installation:

```bash
pixi global install -c https://conda.modular.com/max-nightly/ mojo-compiler

```

The other uses the new Python wheels:

```bash
uv tool install mojo-compiler --force --index-url https://dl.modular.com/public/nightly/python/simple/

```

I believe in both cases, you’ll end up with a `mojo` command that you can use system-wide.

However, there still can be advantages in maintaining local project environments to lock specific Mojo versions, dependencies, etc. Also, when it comes to disk space usage, I know Pixi does what it can to cache downloaded packages and hard-link reused binaries.

(Edit: ha, looks like Ehsan and I collided on this.)

---

<div class="post-metadata">

**Author:** ![melih](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@melih](https://forum.modular.com/u/melih)\
**Post date:** [September 4, 2025, 7:07pm UTC](https://forum.modular.com/t/mojo-global-access/2218/4 "2025-09-04T19:07:15Z")

</div>

Thank you for your feedback. This was helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex001/uploads/modular/original/1X/2751e0fbdc595a99718b216730957e9db4448cfd.jpeg) [@system](https://forum.modular.com/u/system)\
**Post date:** [September 11, 2025, 7:07pm UTC](https://forum.modular.com/t/mojo-global-access/2218/5 "2025-09-11T19:07:28Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
