Already have:
- WSL (Ubuntu 22.04)
- VS Code
Follow the next steps to install Mojo:
- In the Ubuntu terminal, install the Modular CLI:
curl https://get.modular.com | sh - && \ modular auth xxxxxxxxxxxxxxxxxxxxxxxxxxx
- *It was necessary to install python venv:
sudo apt install python3.10-venv
- Install the Mojo SDK:
modular install mojo
After installing Mojo CLI and SDK, define the necessary environment variables in the .bashrc file:
export MODULAR_HOME="$HOME/.modular"
export PATH="$MODULAR_HOME/pkg/packages.modular.com_mojo/bin:$PATH"
VS Code Extensions:
- WSL
- IntelliCode
- Mojo
- Python