Setup and First Start
Setting Up Claude Code
In the masterclass "Agentic Coding" you learned a way of working with coding agents that is independent of any tool. In this course you put it into practice with Claude Code, Anthropic's coding agent. You set it up, learn where the masterclass concepts are found in Claude Code, configure it securely, and work through the practice project step by step.
/help always shows you the current commands.What You Need
- A subscription: Claude Code is included in Anthropic's Pro, Max, Ultra, Team, and Enterprise plans. The free account is not enough. Alternatively, you can pay per use via the Claude Console. Pro is enough to get started (as of October 2026: 20 US dollars per month when billed monthly). You can find current prices at claude.com/pricing.
- A computer: macOS 13 or later, or Windows 10 (version 1809 or later) or Windows 11, at least 4 GB of RAM, and an internet connection.
- Git for the practice project. How to check whether Git is installed is explained in the masterclass lesson "Workspace and Basics".
Two Ways: Desktop App or Terminal
Claude Code comes in several variants. Two are important for this course:
Recommended for getting started. The Claude app for Mac and Windows has a "Code" area. There you choose a project folder, chat with Claude Code, and see changes as a color diff. You don't need a terminal and don't have to install anything else.
- Download the app from claude.com/download and install it.
- Sign in with your Anthropic account.
- Click Code at the top. If the app asks you to upgrade, you don't have the right subscription.
More options. In the terminal you start Claude Code with the command claude. This variant supports all features and is the basis of the official documentation. Installation takes two minutes (see below).
The desktop app and the terminal read the same settings files and the same CLAUDE.md. So you can switch at any time.
There are also extensions for the code editors Visual Studio Code and JetBrains, as well as a web version. The concepts in this course apply everywhere.
Installing in the Terminal
Open the terminal (Mac: the "Terminal" program; Windows: "PowerShell") and paste the matching command. It comes from the official documentation:
curl -fsSL https://claude.ai/install.sh | bash
Alternatively with Homebrew: brew install --cask claude-code. This variant does not update itself, though.
irm https://claude.ai/install.ps1 | iex
The command is for PowerShell (the prompt starts with PS C:\). You don't need administrator rights. "Git for Windows" is also recommended. Without Git for Windows, Claude Code runs commands with PowerShell.
The installer shows no progress while it downloads. Afterward, open a new terminal window and check:
claude --version
If a version number appears, everything is ready. If the terminal reports "command not found" or "not recognized", it can't find the program yet. The documentation describes the fix under "Troubleshoot installation". The command claude doctor checks the installation in detail.
First Start and Sign-In
- In the terminal, go to a project folder, for example
cd Projects/hike-planner. - Start Claude Code with
claude. - On first start, the browser opens for sign-in. Sign in with your Anthropic account. If the browser doesn't open, press
cto copy the sign-in link. - Claude Code asks whether you trust the files in this folder. Only confirm this in folders whose origin you know.
Then you see an input line. Here you write your tasks, just like in a chat. /status shows version, account, and model; /help shows all commands. You exit Claude Code by pressing Ctrl+C twice or with the command /exit.
Subscription, Costs, and Data Protection
With a subscription you pay a fixed monthly price. Usage is limited within time windows: if you work a lot, you eventually reach the limit and have to wait. /usage shows how much of your quota is used and what costs the most. Pay-per-use billing via the Claude Console is intended for teams and companies. There you can set spending limits per workspace.
- Install Claude Code as the desktop app or in the terminal and sign in.
- Check your account's data protection setting.
- Open the folder
hike-plannerfrom the masterclass practice project (desktop: choose the folder; terminal:cdinto the folder, thenclaude). - Give the task: "Explain this project to me: what is it for, which files are there, and what does each one do? Don't change anything."
- Type
/usageand see how much this first task used. In the desktop app you also find the commands by typing/.
- Claude Code needs a subscription (Pro, Max, Ultra, Team, Enterprise) or a Claude Console account.
- Desktop app for an easy start, terminal for all features. Both use the same settings.
- Installation with one command, check with
claude --version. Updates come automatically. - On first start: sign-in in the browser and the question of whether you trust the folder.
- Check the data protection setting in your account before working with other people's code.
This lesson is part of a course with final exam and certificate. View the course "Claude Code in Practice"