[SNIPPET]Mar 16 20261 min read

$One Alias to Skip the Claude Code Permission Prompt Forever

Stop typing claude --dangerously-skip-permissions every time. Set up a simple shell alias and just type cds instead.

If you use Claude Code from the terminal, you already know the drill. Every session starts with typing out claude --dangerously-skip-permissions — a mouthful that gets old fast.

Here's a one-liner fix. Run this once:

echo "alias cds='claude --dangerously-skip-permissions'" >> ~/.zshrc && source ~/.zshrc

That's it. From now on, just type cds and you're in.

What's happening here

  • alias cds='claude --dangerously-skip-permissions' creates a shortcut called cds
  • >> ~/.zshrc appends it to your shell config so it persists across sessions
  • source ~/.zshrc reloads the config immediately so you don't have to restart your terminal

If you're on bash instead of zsh, swap ~/.zshrc with ~/.bashrc.

A word of caution

The --dangerously-skip-permissions flag exists for a reason — it lets Claude execute commands without asking you first. Only use this in environments where you're comfortable with that level of autonomy. For most local dev work and side projects, it's a huge time saver. For production systems, think twice.

Happy hacking.

#claude-code#cli#productivity#developer-tips#terminal
One Alias to Skip the Claude Code Permission Prompt Forever | Terminal Log