Dokumentationerreichbar
Anthropic, CLI reference
code.claude.com (externe Seite)
Die Herstellerreferenz der Kommandozeile von Claude Code: alle Unterbefehle wie claude update, claude install, claude auth und claude doctor sowie alle Schalter beim Start.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 11.10.2026:
Exits with code 0 if logged in, 1 if not.
bestätigt 10.11.2026Print read-only installation and settings diagnostics from the terminal without starting a session
bestätigt 10.11.2026Accepts a PR number, a Git
bestätigt 10.11.2026Hub or Git Hub Enterprise PR URL, a Git Lab merge request URL, or a Bitbucket pull request URL. No limit by default.
bestätigt 10.11.2026Spend can pass the cap
bestätigt 10.11.2026Comma-separated list of setting sources to load
bestätigt 10.11.2026A bare tool name removes the matching tools from Claude’s context
bestätigt 10.11.2026To restrict which tools are available, use --tools instead.
bestätigt 10.11.2026Print the built-in auto mode classifier rules as JSON.
bestätigt 10.11.2026Use it when an evaluation harness drives claude on a shared machine and Claude Code must not run commands or read that machine’s user and project settings.
bestätigt 10.11.2026refuses to create cloud sessions
bestätigt 10.11.2026Claude Code checks the cap against its client-side cost estimate
bestätigt 10.11.2026Limit the number of agentic turns (print mode only).
bestätigt 10.11.2026Stop the run once estimated spend on API calls reaches this amount (print mode only).
bestätigt 10.11.2026All five work in both interactive and non-interactive modes.
bestätigt 10.11.2026Appending preserves the default tool guidance, safety instructions, and coding conventions, so you only supply what differs.
bestätigt 10.11.2026Replacing drops all of the default prompt, including tool guidance and safety instructions, so you take responsibility for whatever your task still needs.
bestätigt 10.11.2026By default, Claude Code builds the system prompt once, on a conversation’s first request, with the text from any system prompt flags applied, and records it in the session.
bestätigt 10.11.2026With off, rebuilds the prompt on every request.
bestätigt 10.11.2026
02 Die erste Sitzung11 Eine Wissensbasis aufbauen15 Einstellungen und Ebenen16 Rechte und Sandbox26 Git und Forges29 Skripte und CI31 Der Harness