Version: 1.1.0
mojo
The mojo tool builds, runs, debugs, formats, and documents Mojo code.
Essentials
mojo run file.mojocompiles and executes a file.mojo buildwrites an executable and does not run it.mojo replstarts an interactive session.- Pass
--helpto any subcommand for its flags. - The binary on your
PATHshould match the package you installed.
Example
$ mojo --help
Keep in mind
If two environments both install mojo, the first one on PATH wins.