CLI Reference
This page provides a complete reference for Command Code CLI options, slash commands and subcommands.
Customize Command Code's behavior with the following flags.
All available slash commands that can be used within Command Code sessions.
| Command | Description |
|---|---|
/add-dir | Add a directory to the workspace context |
/agents | Manage agent configurations |
/clear | Clear the conversation history (reset, new) |
/compact | Compact the conversation history |
/exit | Exit the Command Code session |
/feedback | Submit feedback or report issues |
/help | Show available shortcuts |
/ide | Connect IDE to share your open file and selected lines. See IDE integration |
/init | Initialize AGENTS.md for this project |
/learn-taste | Learn taste from sessions with other coding agents (Claude Code, Cursor, etc.) |
/login | Authenticate with CommandCode via browser |
/logout | Remove stored authentication |
/mcp | Manage MCP server connections |
/memory | Manage Command Code memory |
/model | Switch between Command Code models |
/pr-comments | Fetch all PR comments for the current branch |
/provider | Select AI provider (Command Code or Anthropic) |
/resume | Resume a past conversation |
/review | Review a pull request (optional PR number) |
/rewind | Restore to a previous checkpoint (press Esc twice) |
/share | Share conversation (copy link to clipboard) |
/skills | Browse and open agent skills |
/taste | Manage Taste learning and usage |
/terminal-setup | Setup VSCode keybindings |
/unshare | Stop sharing conversation |
List of all Command Code CLI subcommands and their description.
| Command | Description | Example |
|---|---|---|
cmd info | Display system information | cmd info |
cmd status | Show authentication status | cmd status |
cmd help | Display help information | cmd help |
cmd whoami | Show current user | cmd whoami |
cmd update | Update Command Code to the latest version | cmd update |
cmd feedback "message" | Share feedback or report bugs (optional title) | cmd feedback "docs typo" |
cmd taste | Manage taste learning packages | cmd taste list |
cmd learn-taste | Learn taste structure from repositories | cmd learn-taste |
cmd mcp | Manage MCP (Model Context Protocol) servers | cmd mcp list |
cmd skills | Install and manage agent skills | cmd skills add <url> |
cmd login | Login with Command Code account | cmd login |
cmd logout | Remove stored authentication | cmd logout |
Subcommand Options
Options that can be used with specific subcommands to modify their behavior.
| Subcommand Option | Description | Example |
|---|---|---|
cmd info --verbose | Show detailed CPU and network information | cmd info --verbose |
cmd info --text | Print plain text without colors | cmd info --text |
cmd update --check-only | Check for updates without installing | cmd update --check-only |
List of all taste commands and their description.
| Command | Description | Example |
|---|---|---|
npx taste push | Push taste profile to Command Code registry | npx taste push |
npx taste pull | Pull taste profile from Command Code registry | npx taste pull |
npx taste list | List taste profiles | npx taste list |
npx taste lint | Lint taste profile | npx taste lint |
npx taste open | Open taste profile in editor | npx taste open |
npx taste help | Show taste help | npx taste help |
List of all skills commands and their description.
- Build something cool with Command Code and see your taste in action
- Join our Discord community for feedback, requests, and support.
