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.

OptionDescriptionExample
cmdStart interactive sessioncmd
cmd "message"Start with initial messagecmd "fix login redirect"
-r, --resumeResume a conversationcmd --resume
-c, --continueContinue the last conversationcmd --continue
-t, --trustAuto-trust project (skip initial permission prompt)cmd --trust
-p, --print [query]Run in non-interactive mode, output response and exitcmd --print "explain this file"
--yoloBypass all permission prompts (--dangerously-skip-permissions also accepted)cmd --print "fix lint" --yolo
--auto-acceptStart in auto-accept mode (alias for --permission-mode auto-accept)cmd --auto-accept
--add-dir <directory>Add directory to workspace contextcmd --add-dir ../shared
--planStart in plan modecmd --plan
--permission-mode <mode>Set permission mode (standard, plan, auto-accept)cmd --permission-mode plan
--skip-onboardingSkip taste onboarding (for automated runs)cmd --skip-onboarding
--ide-setupSetup extension for editor contextcmd --ide-setup
-v, --versionOutput the version numbercmd --version
-h, --helpDisplay this help messagecmd --help

All available slash commands that can be used within Command Code sessions.

CommandDescription
/add-dirAdd a directory to the workspace context
/agentsManage agent configurations
/clearClear the conversation history (reset, new)
/compactCompact the conversation history
/exitExit the Command Code session
/feedbackSubmit feedback or report issues
/helpShow available shortcuts
/ideInstall extension for editor context
/initInitialize AGENTS.md for this project
/learn-tasteLearn taste from sessions with other coding agents (Claude Code, Cursor, etc.)
/loginAuthenticate with CommandCode via browser
/logoutRemove stored authentication
/mcpManage MCP server connections
/memoryManage Command Code memory
/modelSwitch between Command Code models
/pr-commentsFetch all PR comments for the current branch
/providerSelect AI provider (Command Code or Anthropic)
/resumeResume a past conversation
/reviewReview a pull request (optional PR number)
/rewindRestore to a previous checkpoint (press Esc twice)
/shareShare conversation (copy link to clipboard)
/skillsBrowse and open agent skills
/tasteManage Taste learning and usage
/terminal-setupSetup VSCode keybindings
/unshareStop sharing conversation

List of all Command Code CLI subcommands and their description.

CommandDescriptionExample
cmd infoDisplay system informationcmd info
cmd statusShow authentication statuscmd status
cmd helpDisplay help informationcmd help
cmd whoamiShow current usercmd whoami
cmd updateUpdate Command Code to the latest versioncmd update
cmd feedback "message"Share feedback or report bugs (optional title)cmd feedback "docs typo"
cmd tasteManage taste learning packagescmd taste list
cmd learn-tasteLearn taste structure from repositoriescmd learn-taste
cmd mcpManage MCP (Model Context Protocol) serverscmd mcp list
cmd loginLogin with Command Code accountcmd login
cmd logoutRemove stored authenticationcmd logout

Subcommand Options

Options that can be used with specific subcommands to modify their behavior.

Subcommand OptionDescriptionExample
cmd info --verboseShow detailed CPU and network informationcmd info --verbose
cmd info --textPrint plain text without colorscmd info --text
cmd update --check-onlyCheck for updates without installingcmd update --check-only

List of all taste commands and their description.

CommandDescriptionExample
npx taste pushPush taste profile to Command Code registrynpx taste push
npx taste pullPull taste profile from Command Code registrynpx taste pull
npx taste listList taste profilesnpx taste list
npx taste lintLint taste profilenpx taste lint
npx taste openOpen taste profile in editornpx taste open
npx taste helpShow taste helpnpx taste help
Info

npx taste and cmd taste are equivalent. cmd taste requires global installation (npm i -g command-code). We recommend using npx taste.


  • Build something cool with Command Code and see your taste in action
  • Join our Discord community for feedback, requests, and support.