M
Modular15mo ago
Sean

Mojo Not Found in CLI

After I installed mojo via modular, it says installed but it's not pre-configured in the environment path.
2 Replies
❤🔥
❤🔥15mo ago
The installer displays 3 commands after successful installation that you need to run to add mojo to the environment path
echo 'export MODULAR_HOME="/home/YOUR USER/.modular"' >> ~/.bashrc
echo 'export PATH="/home/YOUR USER/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
echo 'export MODULAR_HOME="/home/YOUR USER/.modular"' >> ~/.bashrc
echo 'export PATH="/home/YOUR USER/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
You need replace YOUR USER to your user in system.
Sean
SeanOP15mo ago
found it on docs but thanks anyway
Want results from more Discord servers?
Add your server