IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

mojo repl

Launches the Mojo REPL.

Synopsis​

mojo repl [lldb-options]

Description​

Launches a Mojo read-evaluate-print loop (REPL) environment, which provides interactive development in the terminal. You can also start the REPL by simply running mojo.

Any number of options and arguments may be specified on the command line. These are then forwarded to the underlying lldb tool, which runs the REPL.

Options​

Common options​

--help, -h​

Displays help information.

--help-hidden​

Displays help for hidden options.