Junie Help

Reference

Complete reference for the slash commands (/) and shortcuts available in Junie CLI (interactive mode).

Built-in slash commands

Command

Description

/account

Manage your Junie Accounts and Junie API keys, or connect your own API key from Anthropic, OpenAI, and other OpenAI API-compatible providers.

/branch [name]

Copy the current conversation into a new session and switch to it. If you provide [name], Junie uses it as the title of the new session.

/brave

Cycle through the brave mode levels (Off, Auto, On) that control how much Junie CLI relies on user approval before running potentially sensitive actions.

/commands

List custom slash commands (and in the interactive TUI, create/manage them). In ACP clients, /commands prints a Markdown listing with sources and edit paths; create/edit still happens via Markdown files or the TUI.

/copy [N]

Copy an assistant response to the clipboard. Without [N], copies the most recent response. With [N], copies the Nth-latest response (1 = most recent, 2 = the one before that, and so on).

/debug

Toggle debug mode, in which Junie CLI acts as an AI debugging assistant against a live debugger session in a connected JetBrains IDE. Shortcut: Shift+Tab cycles through default, Plan, and Debug mode.

/demo

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.

/effort

Set the reasoning effort level for the current model. The set of supported effort levels depends on the selected model.

/extensions <arg>

Browse, install, update, and manage Junie CLI extensions — bundles of agent skills, MCP servers, subagents, custom commands, and guidelines.

/feedback <prompt>

Share feedback about the current session with the Junie team. If you provide <prompt>, Junie opens the feedback screen with that text as an editable draft.

/history [sessionId]

Open Task history to search sessions, switch between live sessions, or resume a saved session from a previous run. Press Tab to toggle between sessions from all directories and only the current project directory. If you provide [sessionId], Junie resumes or switches directly to that session — handy with the /branch flow.

/ide

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.

/install-github-action

Launch an interactive wizard for installing and configuring Junie GitHub Action in the current GitHub repository.

/import

Import user- or project-level configs from other coding agents.

Junie CLI detects and suggests import of guidelines, agent skills, slash commands, or MCP server configurations from other coding agents like Claude Code, Codex, or Cursor.

/local

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.

/mcp

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.

/model

Select the main Large Language Model (LLM) to be used by Junie CLI and, for supported models, the reasoning effort level.

Default is the recommended pre-selected option with the best price quality ratio. The model behind the Default option is set dynamically and may change as new models are released.

With more than one model provider, such as JetBrains AI, Junie Local, or a BYOK provider, the models are split into one tab per provider. Press Tab or Shift+Tab to switch tabs.

/new <prompt>

Start another live session. If you provide <prompt>, Junie opens the session with that text in the prompt.

/plan <prompt>

Toggle plan mode. If you provide <prompt>, Junie enables plan mode and submits the prompt immediately.

/remote

Open the current Junie CLI session in a web browser. For details, see Remote Mode.

/review [target]

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.

/sandbox

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 /sandbox on and /sandbox off. CLI --sandbox locks the toggle; the command reports the override. Activation validates the runtime and policy; failure leaves the mode off and allows retry after repair. You can always turn sandbox mode off, even if the runtime is broken. Packaged macOS and Linux builds include a compatible srt; Linux also requires system dependencies. Agent terminal commands and native edits have restricted filesystem access; network access is unrestricted by default. You can explicitly ask the agent to change ~/.junie/sandbox.json through a native edit tool, but each change requires fresh human approval. In the TUI, enabling sandbox mode switches to your sandboxed brave-mode preference (On by default), and the command also reports recorded denials for the session.

/settings

Change Junie settings, including theme, notifications, step limit, subagents mode, and diff view mode.

/quit

Exit Junie CLI interactive mode while staying logged in.

/restart

Restart Junie CLI and reopen the current session, applying an already downloaded update. Requires the managed launcher (junie shim).

/title [name]

Set the title of the current session. If you provide [name], Junie uses it as the session title. If you omit it, Junie auto-generates a title by summarizing the whole conversation. A title you set this way persists across session reloads and is shown in /history, the terminal window title, and task-completion notifications, and it is not overwritten by the agent's automatic name. Alias: /rename.

/update

Check for updates and install if available. After download, run /restart to apply.

/stats

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: /usage, /cost, /quota, /balance, /credits.

/worktree

Open the worktree menu to create or switch to an isolated Git worktree for parallel file changes. See Parallel sessions and worktrees.

/agent-mode

Choose the session mode: Classic or Chat. The mode is locked after the first prompt of a session.

/compress

Compress the conversation context before the next task, which may discard some information. Alias: /compact.

/goal [message]

Run the task in orchestrated, step-by-step mode (Junie auto-plans if needed). Use /goal stop to leave orchestrated mode. If you provide [message], Junie starts working on it. Not available with Junie Lite: /goal explains that and asks you to switch model. /goal stop keeps working.

/link

Show and copy the current session's junie://sessions/<id> link. Pass the link back to the CLI to resume the session: junie junie://sessions/<id>. Interactive TUI only; the link references a local session in the same Junie Home. No data is uploaded.

/logs

Export the current session logs as a ZIP archive for bug reports. Alias: /export-logs.

/loops [prompt]

Open the loops view to manage recurring scheduled tasks. If you provide [prompt], Junie schedules a recurring task from it. Aliases: /crons, /cron-jobs.

/project-onboarding

Analyze your project and suggest improvements that help the agent work more effectively.

/promo

Activate a promo code for trial tokens.

/pull-request [pr]

Review a pull request or merge request. If you provide [pr], Junie reviews that pull request. Alias: /pr.

/skills

List the agent skills available in the current session.

/voice

Record voice input from your microphone. Aliases: /mic, /record.

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.

Shortcut

Description

Ctrl+C twice

Quit Junie CLI interactive mode.

!

Run a shell command in the embedded terminal. Example: !ls.

@

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

Shift+Tab

Cycle through default mode, plan mode, and debug mode (Debug mode appears in the cycle only when it is available).

Ctrl+B

Cycle through the brave mode levels (Off, Auto, On).

Ctrl+R

Search the prompt history.

Ctrl+T

Open subagent tasks.

Ctrl+O

Open the current main or selected subagent transcript using the configured transcript view.

Ctrl+S

Scroll to the bottom of the conversation.

Text editing

Shortcut

Description

Shift+Enter (or Ctrl+J)

Insert a new line in the prompt.

Ctrl+A

Move cursor to the start of the line.

Ctrl+E

Move cursor to the end of the line.

Alt+B

Move cursor one word backward.

Alt+F

Move cursor one word forward.

Ctrl+U

Delete the entire line.

Ctrl+W

Delete the word before the cursor.

15 October 2026