Claude Code · AI training guide

Claude Code Tutorial for Beginners: Install, First Task, and Safe Habits

The short answer

Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and connects to your development tools. Install it with the native installer, run claude inside a project folder, sign in, and start with a small, reviewable task such as writing tests for one module, then read every change before accepting it.

What is Claude Code?

Claude Code is Anthropic’s agentic coding tool. According to the official documentation, it reads your codebase, edits files, runs commands, and integrates with your development tools, and it is available in the terminal, in IDEs, in a desktop app, and in the browser.

"Agentic" is the key word. A chat assistant answers a question. Claude Code plans a piece of work, changes multiple files, runs your tests, and reacts to the results. You describe the goal in plain language, and it does the legwork while you review.

Despite the name, you do not have to be a professional developer to benefit, but you do need enough technical judgment to review what it changes. This guide assumes you are comfortable opening a terminal.

How do you install Claude Code?

Use the native installer. The documentation recommends it, and native installs update in the background. At the time of writing, the commands are:

# 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) and WinGet (winget install Anthropic.ClaudeCode) are also documented, but those do not auto-update, so you upgrade them yourself. After installing, open a new terminal and run claude --version. A version number means it worked.

Then start it inside a project:

cd your-project
claude

It prompts you to log in the first time. Most surfaces require a Claude subscription or an Anthropic Console account. Installation commands change, so confirm them on the official overview before you hand them to a team.

What should your first Claude Code task be?

Pick a small task that is easy to verify. Good first tasks give you a clear pass or fail and a small diff to read.

  • "Write tests for the auth module, run them, and fix any failures."
  • "Explain how the checkout flow works and list the files involved."
  • "Find where we format dates and tell me whether we do it consistently."

Avoid a first task like "refactor the whole app." You want to learn how Claude Code plans, asks for permission, and shows its work before you trust it with something large.

A safe first-session routine

  1. Work in a git repository with a clean working tree, so every change is visible and reversible.
  2. Ask Claude to explain its plan before it edits.
  3. Read each proposed change. Do not approve in bulk until you trust the pattern.
  4. Run your tests yourself, in addition to anything it ran.
  5. Commit in small steps with clear messages.

Where can you use Claude Code?

Claude Code runs on several surfaces that share the same underlying engine, so your project instructions, settings, and connected tools carry across them. The documentation lists the terminal, VS Code (and Cursor), JetBrains IDEs, a desktop app, and the web, with a mobile app route for the web experience.

SurfaceGood for
Terminal CLIFull-featured daily work, scripting, automation
VS Code or JetBrainsInline diffs and review inside your editor
Desktop appVisual diff review, multiple parallel sessions, scheduled tasks
WebLong-running tasks and repos you do not have locally

For beginners, the editor extension or desktop app often feels friendlier than a bare terminal because the diffs are visual.

What safe habits should you teach before wider use?

Teach four habits before anyone uses Claude Code on company code: review every change, work in version control, keep secrets out, and respect permissions.

  • Review. The person who merges owns the code, regardless of who or what wrote it.
  • Version control. Branches and small commits make any mistake cheap to undo.
  • Secrets. Keep credentials out of the repository and out of prompts. Use your normal secret-management practice.
  • Permissions. Claude Code asks before taking actions. Do not blanket-approve until you understand what you are approving.

Then add project memory. A short CLAUDE.md file captures your build commands and conventions so every session starts informed, and a team rollout plan covers licensing, spend, and policy.

Where can you learn more?

Anthropic provides free courses through Claude Academy, including Claude Code 101 and Claude Code in Action, and the Claude Code documentation includes a quickstart and best-practices guide. For team training that uses your own codebase and conventions, a facilitated workshop is usually faster than self-study, because the hard questions are about your environment, not the tool.

How do you download and install Claude Code on Windows, Mac, and Linux?

Search interest in "Claude Code download" and "Claude Code install" is high, so here is the path in one place, based on Anthropic’s overview documentation as of November 2026.

PlatformDocumented options
macOS, Linux, WSLNative installer (recommended), Homebrew cask, or Linux package managers (apt, dnf, apk)
WindowsPowerShell installer, CMD installer, or WinGet; Git for Windows is recommended so Claude Code can use the Bash tool
Any with the desktop appDownload the Claude desktop app (macOS, Windows, or a Linux beta) and use the Code tab; the app includes Claude Code

Notes worth knowing before you hand this to a team: native installs update automatically in the background, while Homebrew and WinGet installs do not, so someone must own upgrades. If the claude command is not found after installing, the install directory is not on your PATH yet, and Anthropic’s troubleshooting guide walks through the fix. If you see syntax errors when pasting a command, you are probably in the wrong shell, such as PowerShell versus CMD.

For managed fleets, ask your IT team how Claude Code should be deployed and updated, and use managed settings to enforce policy.

What do you do after installing? Your first-week plan

A simple week-one plan turns an install into a habit:

  1. Day 1. Install, sign in, and ask Claude Code to explain a small area of your codebase. Read-only tasks build trust.
  2. Day 2. Add a short CLAUDE.md with your build and test commands.
  3. Day 3. Pick one small ticket, such as adding tests to a module, and review every change.
  4. Day 4. Try a different surface, such as the VS Code extension or desktop app, to see which fits your workflow.
  5. Day 5. Write down what worked and what did not, and share it with the team.

Anthropic’s Academy courses cover similar ground at your own pace. Pair them with a facilitated session on your own repository when you are training a team, because the useful questions are about your environment.

Frequently asked questions

Is Claude Code free?

Claude Code requires a Claude subscription or an Anthropic Console account for most surfaces, according to the documentation. Check current plans for what is included.

Do I need to know how to code to use Claude Code?

You need enough technical knowledge to review changes and run tests. Non-developers doing knowledge work may be better served by Claude Cowork. See Cowork vs Claude Code.

Which operating systems does Claude Code support?

The documentation lists macOS, Linux, WSL, and Windows installers, plus package manager options. Confirm current requirements in the docs.

Can Claude Code break my project?

It can make wrong changes, as any collaborator can. Working in git with small commits and reviewing every diff keeps the risk low and recoverable.

What is the difference between Claude Code and Claude chat?

Chat answers questions in a conversation. Claude Code works inside your project: it reads files, edits them, and runs commands to complete multi-step tasks.

How do I install Claude Code on Windows?

Anthropic documents a PowerShell installer, a CMD installer, and WinGet, and recommends Git for Windows. Confirm current commands in the official overview.

Why is the claude command not found after installing?

Usually the install directory is not on your PATH yet. Open a new terminal, and if it persists, follow Anthropic’s installation troubleshooting guide.

Is there a Claude Code desktop app?

Yes. Anthropic describes a desktop app that includes Claude Code, with visual diff review, multiple sessions, and scheduled tasks. A paid subscription is required.

Product features, plans, and limits change often. This guide reflects the vendor documentation listed above as of November 2026. Check the vendor’s current documentation before you make purchasing or policy decisions. TechStack Consulting is an independent training firm and is not affiliated with Anthropic or OpenAI.

Want your team using Claude well, with governance in place?

Book my free Claude review

Free · 30 minutes

Free 30-Minute Claude Rollout Review

In 30 minutes, we’ll help you identify:

  • Highest-value business use cases
  • Governance and compliance requirements
  • Change-management considerations
  • Adoption risks
  • A practical rollout strategy

30 minutes · No pitch · Written recommendations