Global repl with magic

I’ve followed the instructions to uninstall ‘modular’ and instead use magic, including striking the path magic from my fish config and instead use the magic completions.

This works great for projects, but I also was enjoying using the mojo repl in just any directory for quickmath, and now just using mojo doesn’t work, and I don’t see any obvious way to install mojo globally.

Is there some way to do this?

I found a recent (Mar 3 2025) answer from kapa.ai which you can find in the Discord searching for “mojo globally”
The command is:
magic global install max -c conda-forge -c https://conda.modular.com/max/
–expose mojo

There is also a section in the docs about it here:

2 Likes

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