-
Notifications
You must be signed in to change notification settings - Fork 0
Interactive Commands
SpdrByte edited this page Mar 4, 2026
·
1 revision
Gemma CLI extends standard AI chat with a suite of professional management commands. Use these to control the workstation environment, switch reasoning engines, and manage long-term memory.
| Command | Usage | Description |
|---|---|---|
/help |
/help |
Displays the interactive help box with all available commands. |
/clear |
/clear |
Wipes the current conversation history. Useful for starting a fresh task without context contamination. |
/multiline |
/multiline |
Enters multiline mode. Paste large blocks of code or long instructions. Type /end on a new line to submit. |
/debug |
/debug |
Toggles verbose logging. Displays raw API JSON and tool execution details. |
/resetkey |
/resetkey |
Permanently deletes the DPAPI-encrypted API key from your machine and quits. |
exit |
exit |
Gracefully closes the Gemma CLI session. |
| Command | Usage | Description |
|---|---|---|
/model |
/model [id] |
Opens an interactive menu to switch models. You can also pass an ID directly (e.g., /model 3-4b). |
/tools |
/tools |
Lists all currently active tools, their descriptions, and required parameters. |
/settings |
/settings |
Opens the Configuration Hub. Manage UI colors, enable/disable tools, and toggle Smart Trim. |
/customCommand |
/customCommand /alias [prompt] |
Create a shortcut for a long prompt. Example: /customCommand /fix Fix this code for errors:
|
| Command | Usage | Description |
|---|---|---|
/recall |
/recall |
Manually injects long-term "memories" (facts learned in previous sessions) into the active context. |
/bigBrother |
/bigBrother [query] |
Deep Reasoning Pipeline: Sends query to Gemini Flash -> Gemma 27B -> Gemini Flash for final synthesis. |
/littleSister |
/littleSister [query] |
Contextual Pipeline: Sends query to Gemma 27B -> Gemini Flash -> Gemma 27B for final output. |
-
Default Model: The CLI defaults to
gemma-3-27b-itfor heavy logic. Switch togemma-3n-e2b-itif you need ultra-low latency for simple tasks. -
Tool Permission: Every tool call requires a
Allow/Denyconfirmation. Use[Esc]to cancel a running tool if it takes too long. -
Custom Shortcuts: Your custom commands are saved in
config/custom_commands.jsonand persist across restarts.