Mojo in CMD.
How may I run Mojo directly in Command Prompt instead of running it through a virtual machine?
3 Replies
If u use windows, u have to use a linux virtual env to run mojo. U can use WSL through cmd if that feels better.
Type:
wsl.exe
in cmd
I use Linux Mint.
You said cmd so I thought of windows. Afaik, mint is based on ubuntu, so u should be able to run mojo from terminal. You dont need to use a virtual machine at all.
If you mean magic virtual environment by virtual machine, then u should create one but you dont have to initialize it each time. You can directly run mojo this way:
magic run mojo mycode.mojo
Or if you mean, "I use mint on virtual machine instead of WSL", then I suggest u to use WSL.