Claude Code: Installation and First Session
Install Claude Code with the native installer, log in with a paid plan or a Console account, start a first session, learn the six permission modes (including auto, now the default) and see how it compares with Copilot and Cursor.
How do you install Claude Code and start a session?
Run the native installer (curl -fsSL https://claude.ai/install.sh | bash on macOS, Linux and WSL; irm https://claude.ai/install.ps1 | iex in Windows PowerShell), open a new terminal and check claude --version. Then cd into your project and run claude: the first run opens a browser login.
Claude Code & Agentic Development
10 lessons for developers: how the agent reads a codebase, CLAUDE.md, slash commands, task breakdown, git, debugging, MCP servers, IDE integration and CI.
The rest of this lesson opens after a free sign-up
Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.
Permission modes: current names
The six modes from the lesson, as named in the Claude Code docs. Pass one with --permission-mode or press Shift+Tab in a session.
| Mode | What runs without asking | When to use |
|---|---|---|
| default (Manual) | Reads only; Claude asks before edits, shell commands and network access | Unfamiliar projects, first sessions |
| acceptEdits | Reads, file edits and common file commands (mkdir, mv, cp, rm…) inside the working directory | You trust the task and review the diff afterwards |
| plan | Reads and research; edits wait until you approve a plan | Big changes, a first look at a new repo |
| auto | Everything, with a separate classifier reviewing actions first | Long tasks with fewer prompts; the starting mode for interactive sessions since v2.1.283 |
| dontAsk | Anything that would prompt is denied; reads and pre-approved tools run | Locked-down CI and scripts |
| bypassPermissions | Everything, no prompts | Isolated containers and VMs only |


