Everything you can type before you're in a session. Fresh installs auto-update by default.
irm 'https://cursor.com/install?win32=true' | iex. Add ~/.local/bin to PATH./update.about --format json for scripting.agent rule.~/.zshrc (uninstall-shell-integration removes it).--continue is an alias for --resume=-1).--resume in scripts.~/.cursor/worktrees/<repo>/<name>. --worktree-base <ref> picks the base; --skip-worktree-setup skips .cursor/worktrees.json scripts.agent worker debug runs preflight diagnostics.NO_OPEN_BROWSER=1 prints the URL instead; press q for a QR code over SSH.--format json for scripting.no matches in this section
text).--print --output-format stream-json.--list-models shows what your account can use.--force./add-dir.-h.no matches in this section
Typed inside a session. /help <command> shows details for any of them.
/opus and /composer jump straight to a model; /fast toggles Fast where supported./auto-run./new, /new-chat, /newchat./compress./sh, /run./cursor.no matches in this section
/setup-terminal.no matches in this section
Run shell commands without leaving the conversation — quick, non-interactive, permission-checked.
$SHELL) with the CLI's cwd and environment.cd does not persist between commands — chain it each time you need another directory.no matches in this section
Print mode for scripts, CI, and automation. Auth via CURSOR_API_KEY in CI.
result, session_id, duration_ms. Failures exit non-zero with stderr, no JSON.system init, one assistant line per message, tool_call started/completed, terminal result.timestamp_ms and no model_call_id; the other two kinds are duplicate flushes.CURSOR_API_KEY secret.no matches in this section
Permission tokens live in permissions.allow / permissions.deny; deny rules win.
command:args globs match arguments too.* = any domain — use with caution.* wildcards on either side./sandbox (network access too).--allow-paths, --readonly-paths, --blocked-patterns, --network, --sb-debug.no matches in this section
editor.vimMode, permissions, approvalMode, display toggles, attribution.*. Pure JSON, self-repairing.AGENTS.md and CLAUDE.md at the project root are applied as rules too.${workspaceFolder} resolve./rewind support, next-prompt suggestions.true); attributePRsToAgent for PR footers.NODE_EXTRA_CA_CERTS for SSL inspection, network.useHttp1ForAgent for proxies without HTTP/2.no matches in this section
.cursor/mcp.json or ~/.cursor/mcp.json.--worker-dir, --label, --management-addr shape it.no matches in this section