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: Nightly
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 running mojo without CLI arguments.

Options and arguments are forwarded to the underlying LLDB tool, which runs the REPL.

Beware: the REPL has known issues and isn't under active development. We don't offer any REPL stability guarantees. To check REPL status and future developments, watch the Mojo REPL roadmap discussion on https://forum.modular.com/t/mojo-repl-roadmap/1158.

Options

Common options

--help, -h

Displays help information.

--help-hidden

Displays help for hidden options.