Claude Code for Beginners: How to Install It and Get Started

Claude Code reads your project, edits files and runs commands. Here's how to install it and do your first task safely.

Updated · 2 min read

Commands checked against the official documentation on November 1, 2026. Confirm at code.claude.com/docs before installing, as they may change.

What Claude Code is

It's a coding tool that understands your project, edits files, runs commands and works with Git. You describe what you want, and it plans and makes the changes. It runs in the terminal, VS Code, JetBrains IDEs, the desktop app and the browser at claude.ai/code.

You need a paid plan or a developer platform account.

How to install it

Mac, Linux and WSL:

curl -fsSL https://claude.ai/install.sh | bash

Windows PowerShell:

irm https://claude.ai/install.ps1 | iex

Then open a new terminal and confirm with claude --version. If you'd rather avoid the terminal, the desktop app already includes Claude Code in its Code tab.

Your first session

Go to your project folder and run:

cd my-project
claude

It asks you to log in the first time. Start with questions, without changing anything:

Explain this project's structure and how I run it locally.

Then make a small request:

Fix the error when submitting the contact form. Run the tests and show me what changed.

Good practices

Review changes. Read what changed before accepting commands that delete or publish something.

Use Git. Frequent commits let you roll back safely.

Ask for a plan before big tasks. "Before changing anything, propose a plan."

Create a CLAUDE.md. This file stores your project's rules. See how to use CLAUDE.md.

Give it a way to verify. Tests and clear criteria improve the result.

What you can do with it

  • Build features across multiple files.
  • Find and fix bugs.
  • Write tests.
  • Create commits and pull requests.
  • Connect tools with MCP.

Even if you don't code, you can build a simple website.

Frequently asked questions

Is Claude Code free?

It isn't on the free plan. You need a paid plan or a developer platform account.

Does it work on Windows?

Yes. The native install works through PowerShell or CMD, and WSL is also supported.

Is it dangerous to let AI run commands?

It can be, if you approve without reading. Review permissions and work in a project under Git.

Keep reading

Independent content. Claude is a trademark of Anthropic. This article is not affiliated with Anthropic.