Install it and run your first session
Install, log in, point it at a folder, ask your first question.
You can install Claude Code in a few minutes. These are the official native install commands from Anthropic's overview page.
| System | Command |
|---|---|
| macOS, Linux, WSL | curl -fsSL https://claude.ai/install.sh | bash |
| Windows PowerShell | irm https://claude.ai/install.ps1 | iex |
| Homebrew | brew install --cask claude-code |
| WinGet | winget install Anthropic.ClaudeCode |
Windows CMD (not PowerShell)
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
If it does not workThe installer shows no progress while it downloads, so wait. If the terminal then says
claude is not found, open a new terminal window first. The native install updates itself; Homebrew and WinGet need brew upgrade or winget upgrade from time to time.Never run install commands blindlyOnly copy install commands from the official page (code.claude.com), and check the address before you paste into a terminal. The docs may have changed since this course was written.
Your first session
- Open a terminal and install with one of the commands above. Open a new terminal window and run
claude --versionto confirm. - Make a practice folder:
mkdir claude-practicethencd claude-practice. - Start Claude Code with
claude. On first use it asks you to log in. - Ask a first question, such as the below.
- Type
/helpany time to see commands, and/exitto leave.
Your first prompt
Create a one-page website about my favourite hobby. Put the files in this folder, then tell me how to open it in my browser.
It is small, safe and gives a visible result. Claude will propose files and ask permission to write them.
Permissions: you stay in control
Claude Code checks with you depending on the permission mode. New versions (from v2.1.283) start terminal and VS Code sessions in auto mode. Press Shift+Tab to switch: from auto, the first press takes you to manual.
| Mode | What happens |
|---|---|
| Manual | Claude asks before most edits, shell commands and network access. Best while learning. |
| Edit automatically | File edits and simple file commands in your folder run without asking; everything else still asks. |
| Plan | Claude researches and proposes a plan; it does not edit your files until you approve. Tip: start a single prompt with /plan. |
| Auto | The start mode in new versions. Everything runs, with background safety checks that block risky actions. It reduces prompts but does not guarantee safety; after 3 blocks in a row it pauses and asks you again. |
AutoStart mode in new versions. Runs with background safety checks.
→
ManualAsks before edits and commands. Best while learning.
→
Edit automaticallyFile edits run, other things ask.
→
PlanReads and plans, edits nothing until you approve.
A safe setup for your first weeks
- Start each learning session and press Shift+Tab once to switch from auto to manual. You will see every action before it happens.
- Read each request. If you do not understand a command, ask: “What does this command do, in plain words?” before approving.
- Be careful with “always allow” for commands. A broad permission you click away today stays active later.
- Once you trust a task, switch back to auto. Sensitive folders such as
.gitand.claudeare never auto-approved anyway.
About the "skip permissions" modeThere is a mode that approves everything with no prompts (bypass permissions). Anthropic says to use it only in isolated environments such as containers or virtual machines, and that it offers no protection against hidden instructions or mistakes. As a beginner, do not use it.
Try it now: Install Claude Code or the desktop app. In a practice folder, run the first prompt. Read every permission request before approving it.
Check yourself
Tip: use ← and → to move between lessons.