Reference
Complete reference for the slash commands (/) and shortcuts available in Junie CLI (interactive mode).
Built-in slash commands
Command | Description |
|---|---|
| Manage your Junie Accounts and Junie API keys, or connect your own API key from Anthropic, OpenAI, and other OpenAI API-compatible providers. |
| Copy the current conversation into a new session and switch to it. If you provide |
| Cycle through the brave mode levels (Off, Auto, On) that control how much Junie CLI relies on user approval before running potentially sensitive actions. |
| List custom slash commands (and in the interactive TUI, create/manage them). In ACP clients, |
| Copy an assistant response to the clipboard. Without |
| Toggle debug mode, in which Junie CLI acts as an AI debugging assistant against a live debugger session in a connected JetBrains IDE. Shortcut: |
| Launch a visual demo of a feature inside a disposable VM. Junie asks what to demo and offers scopes based on the state of your repository: the changes of the current branch, uncommitted changes, the last commit, the changes of the current session, a smoke test, or a request you describe yourself. |
| Set the reasoning effort level for the current model. The set of supported effort levels depends on the selected model. |
| Browse, install, update, and manage Junie CLI extensions — bundles of agent skills, MCP servers, subagents, custom commands, and guidelines. |
| Share feedback about the current session with the Junie team. If you provide |
| Open Task history to search sessions, switch between live sessions, or resume a saved session from a previous run. Press |
| Show the current JetBrains IDE connection status and the JetBrains IDE features available to the current session. For details, see Junie CLI and JetBrains IDE integration. |
| Launch an interactive wizard for installing and configuring Junie GitHub Action in the current GitHub repository. |
| Import user- or project-level configs from other coding agents. |
| Set up Junie Local, a local inference engine that runs a large coding model on your own machine. Opens the setup screen to install a model, or the list of installed models when at least one is installed. |
| List and manage MCP servers. In the interactive TUI, opens the full management screen (add/edit/enable/OAuth). Over ACP V1, prints a read-only Markdown listing of local servers (with runtime status) and session servers provided by the ACP client at session init, plus guidance on where to edit local configs. |
| Select the main Large Language Model (LLM) to be used by Junie CLI and, for supported models, the reasoning effort level. |
| Start another live session. If you provide |
| Toggle plan mode. If you provide |
| Open the current Junie CLI session in a web browser. For details, see Remote Mode. |
| Start a local code review of your changes before you commit them. Without an argument, pick a review target in the wizard or type your own in its text field. Otherwise Junie works out the target from your text: a commit, a branch to compare against, a revision range, a number of recent commits, your staged or unstaged changes, or plain review instructions. Requires a git repository. |
| Toggle sandbox mode, currently in the EAP, on macOS and Linux in the TUI and ACP. It is not available on Windows. ACP alone also accepts |
| Change Junie settings, including theme, notifications, step limit, subagents mode, and diff view mode. |
| Exit Junie CLI interactive mode while staying logged in. |
| Restart Junie CLI and reopen the current session, applying an already downloaded update. Requires the managed launcher ( |
| Set the title of the current session. If you provide |
| Check for updates and install if available. After download, run |
| Show usage statistics for the current session and all-time totals, including token usage, used models, code changes, and (on JetBrains AI) your remaining balance. Aliases: |
| Open the worktree menu to create or switch to an isolated Git worktree for parallel file changes. See Parallel sessions and worktrees. |
| Choose the session mode: |
| Compress the conversation context before the next task, which may discard some information. Alias: |
| Run the task in orchestrated, step-by-step mode (Junie auto-plans if needed). Use |
| Show and copy the current session's |
| Export the current session logs as a ZIP archive for bug reports. Alias: |
| Open the loops view to manage recurring scheduled tasks. If you provide |
| Analyze your project and suggest improvements that help the agent work more effectively. |
| Activate a promo code for trial tokens. |
| Review a pull request or merge request. If you provide |
| List the agent skills available in the current session. |
| Record voice input from your microphone. Aliases: |
You can also add your own slash commands to Junie CLI. For details, see Custom slash commands.
ACP V2 clients receive the supported command list when a session starts and when skills, custom commands, or model-dependent availability change. They can run /plan, /skills, /commands, /import, /review, /title, /feedback, /compress, enabled skills, custom commands, and available /stats and /logs commands. /compact is an alias of /compress. In ACP V2, bare /plan selects Plan mode for the next prompt. /plan <prompt> selects Plan mode and submits the prompt immediately. Repeated commands keep Plan selected. Turn completion and cancellation do not reset Plan. Client selection and explicit review decisions can exit it.
ACP V2 offers /goal only to clients with form support and a compatible model. Bare /goal selects Goal for the next prompt. /goal <objective> selects Goal and requests setup before dispatch. ACP uses /goal close for an explicit exit. Interactive setup can enter Goal-owned Plan and return to Goal after review. Resume and supported model changes preserve valid Goal context and budget. An incompatible model closes Goal with an explicit message. ACP V2 does not advertise TUI commands such as /mcp, /ide, and /remote.
Navigation
Shortcut | Description |
|---|---|
| Quit Junie CLI interactive mode. |
| Run a shell command in the embedded terminal. Example: |
| Search for a file or folder in your project to attach it to the prompt. |
| Open the slash command suggestion menu. |
| Open the help menu to see all available shortcuts. |
Modes and features
Shortcut | Description |
|---|---|
| Cycle through default mode, plan mode, and debug mode (Debug mode appears in the cycle only when it is available). |
| Cycle through the brave mode levels (Off, Auto, On). |
| Search the prompt history. |
| Open subagent tasks. |
| Open the current main or selected subagent transcript using the configured transcript view. |
| Scroll to the bottom of the conversation. |
Text editing
Shortcut | Description |
|---|---|
| Insert a new line in the prompt. |
| Move cursor to the start of the line. |
| Move cursor to the end of the line. |
| Move cursor one word backward. |
| Move cursor one word forward. |
| Delete the entire line. |
| Delete the word before the cursor. |