claude --dangerously-skip-permissions
Run Claude Code in full auto-mode with no confirmation prompts. Skips all permission checks for file edits, command execution, and web requests. Use only when you fully trust the project repository.
Copy the command to skip all permission prompts in Claude Code CLI. One click, instant copy. Plus install commands for macOS, Linux, and Windows.
Run Claude Code in full auto-mode with no confirmation prompts. Skips all permission checks for file edits, command execution, and web requests. Use only when you fully trust the project repository.
Recommended for macOS — installs Claude Code as a cask.
Universal installer script — works on Linux and macOS.
Windows Package Manager — the native way to install on Windows.
The --dangerously-skip-permissions flag tells Claude Code CLI to skip all interactive permission prompts. Normally, Claude Code asks for confirmation before editing files, running shell commands, or making web requests. With this flag enabled, all actions are auto-approved — no interruptions, no confirmations.
This is the fastest way to use Claude Code in auto-mode. It is commonly combined with --continue to resume the last session, or with -p for one-shot prompts in CI/CD pipelines and automation scripts. Perfect for trusted repositories where you want maximum speed.
Always review changes after running in this mode. The flag name includes "dangerously" as a deliberate reminder that you are granting the AI agent full access to your project files and shell.
To skip permissions in Claude Code, open your terminal and run claude --dangerously-skip-permissions. This single flag bypasses all permission checks — file edits, shell commands, and web requests are all auto-approved. No more clicking "Allow" for every action.
You can also combine it with other flags for different workflows:
claude --dangerously-skip-permissions --continue — resume your last Claude session with permissions skippedclaude --dangerously-skip-permissions -p "your prompt" — run a one-shot prompt in auto-mode without any confirmation dialogsclaude --dangerously-skip-permissions --model opus — skip permissions and use a specific modelThis flag works on macOS, Linux, and Windows. If you haven't installed Claude Code yet, use brew install --cask claude-code on macOS, curl -fsSL https://claude.ai/install.sh | bash on Linux, or winget install Anthropic.ClaudeCode on Windows.
Claude bypass permissions is ideal for these situations:
When NOT to use it: on untrusted or unfamiliar codebases, in production environments without review, or when working on security-sensitive code. The --dangerously-skip-permissions flag gives Claude full auto-approve access — use it wisely.