Skip to main content

CLI commands

You can start sessions, pipe content, resume conversations, and manage updates with these commands: If you mistype a subcommand, Claude Code suggests the closest match and exits without starting a session. For example, claude udpate prints Did you mean claude update?. claude --dangerously-skip-permissions daemon <subcommand> runs the daemon subcommand, so the subcommand works when claude is aliased to include the flag. Only a leading --dangerously-skip-permissions or --allow-dangerously-skip-permissions routes to daemon this way; with any other flag ahead of daemon, the subcommand doesn’t run.

CLI flags

Customize Claude Code’s behavior with these command-line flags. claude --help does not list every flag, so a flag’s absence from --help does not mean it is unavailable.