MiMo Code provides an interactive terminal interface or TUI for working on your projects with an LLM. This page covers how to enter messages, reference files, run commands, and steer the model while you work in the TUI.
Running MiMo Code starts the TUI for the current directory.
Or you can start it for a specific working directory.
Once you're in the TUI, you can prompt it with a message.
Type your message in the input box at the bottom and press enter to send.
shift+enter, ctrl+j, ctrl+return, or alt+return to insert a line break without sending.ctrl+a / ctrl+e to jump to the start/end of the line, ctrl+w to delete the previous word, ctrl+u to delete to the start of the line.ctrl+c or ctrl+d, or use the /exit command.You can reference files in your messages using @. This does a fuzzy file search in the current working directory.
The content of the file is added to the conversation automatically.
MiMo Code can scan images you provide and add them to your prompt. Just drag and drop the image into the terminal window.
Image support depends on whether the selected model supports multimodal input.
Start a message with ! to run a shell command.
The output of the command is added to the conversation as a tool result.
Type / followed by a command name to quickly execute actions. For example:
Most commands also have a keybind using ctrl+x as the leader key.
MiMo Code provides two built-in working modes, Build and Plan. Build mode can read and write files and run commands directly; Plan mode only outputs an action plan without modifying files, which suits complex or high-risk tasks.
tab during a session to toggle between Build and Plan.esc to interrupt the current turn.For more on configuring and customizing modes, see Modes.