WSL ubuntu_22.04
conda create -n mojo python=3.10
conda activate mojo
sudo apt-get install -y apt-transport-https &&
keyring_location=/usr/share/keyrings/modular-installer-archive-keyring.gpg &&
curl -1sLf 'https://dl.modular.com/bBNWiLZX5igwHXeu/installer/gpg.0E4925737A3895AD.key' | gpg --dearmor | sudo tee ${keyring_location} &&
curl -1sLf 'https://dl.modular.com/bBNWiLZX5igwHXeu/installer/config.deb.txt?distro=debian&codename=wheezy' | sudo tee /etc/apt/sources.list.d/modular-installer.list &&
sudo apt-get update &&
sudo apt-get install -y modular
modular auth mut_f515f73db5154dfb8ab8d0148513938e &&
modular install mojo
echo 'export MODULAR_HOME="/home/user/.modular"' >> ~/.bashrc
echo 'export PATH="/home/user/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
mojo
Welcome to Mojo! 🔥
Expressions are delimited by a blank line.
Type `:mojo help` for further assistance.
1>
it's work ^^
source: https://github.com/modularml/mojo/issues/607