Setup and Environment

Permissions and Safety

What Claude Code can actually execute and how you control the limits of its access.

Claude Code asks for your approval before running anything sensitive. Understanding the permission system keeps you comfortable and in control.

Operation Types and What Each Requires

Reading files

automatic, no approval needed

higher level

Editing or creating files

shows the change and asks you

higher level

Running Terminal commands

shows the command and asks you

higher level

Network requests

require explicit permission

Safety Tips

  • Read every diff before approving. Do not hit Yes blindly
  • Do not run it in a folder with sensitive data without reviewing
  • The .env file is protected automatically. It will not edit it
  • Use git to track changes and roll them back
  • You can reject any command. Type N or No

git Is Your Safety Net

Make sure your project is in a git repository before working with Claude Code. That way you can see every change and undo it with git checkout.