SolaFix AILanguage: English

Home › Claude Code › How to use

How to useChecked

How To Use Claude Code: Tutorial, Step by Step

Wondering how to use Claude Code? This Claude Code tutorial takes you from a blank terminal to your first session, step by step, as of December 2026. You need a paid Claude plan or API credentials, one install command, and a sign-in.

SolaFix AI is an independent guide and is not affiliated with Anthropic.

At a glance

Claude Code is Anthropic's coding helper. You can run it in a terminal (a text window where you type commands), in the Claude Desktop app, or on the web.

To start: install it, type claude, and sign in when asked.

The Free Claude plan does not include Claude Code. Pro is $20 a month and includes it.

If something breaks, the exact error text on your screen tells you which fix to try.

01Before you start: what you need for Claude Code

Think of Claude Code as a helper who sits next to you at your desk. Before it can help, it needs a seat (a computer it can run on) and a badge (a login).

The seat: macOS, Linux or Windows works. On Windows you can use PowerShell or CMD (the two built-in command windows), and WSL (a Linux layer inside Windows) is supported too. The badge: a Claude account, an Anthropic Console account, or an API key (a long password that lets software talk to Claude). You must be 18 or older and in a location Anthropic supports.

Free Claude accounts can chat, but the pricing comparison does not include Claude Code in the Free plan. If you only have Free, you need a paid plan or API credentials first. See Claude Code pricing.

For example

Rachel, a marketing manager who has never opened a terminal, wants to try Claude Code after a coworker mentions it. She checks her plan first and sees she is on Free. She upgrades to Pro, which includes Claude Code, before touching anything else.

02How to use Claude Code: your first session, step by step

Do these steps in order. Each one takes a minute or two.

Install it. On Mac, Linux or WSL, paste curl -fsSL https://claude.ai/install.sh | bash into your terminal. On Windows PowerShell, use irm https://claude.ai/install.ps1 | iex. Windows CMD has its own command, shown on Anthropic's overview page.

Open a new terminal window. This lets your computer find the new program.

Type claude and press Enter. That is the whole start command.

Sign in when it asks. You can use your Claude account, or an API key if you set ANTHROPIC_API_KEY first. If it asks you to approve the key, say yes.

Once you are signed in, you are in your first session. Type what you want in plain words, the way you would tell a coworker.

The install commands for every system live on Anthropic's official page:

Open the Claude Code overview

This is Anthropic's own documentation. Copy commands from here, not from random websites.

Need more detail on getting it onto your machine? Our Claude Code download guide covers each system.

03Claude Code tutorial: three ways to open it

Claude Code is like a kitchen you can walk into through three doors. The kitchen is the same, only the door changes.

The terminal (CLI)

This is the path in the steps above. You type claude and chat in the same window. It suits people who already use a terminal, or who do not mind learning one.

The Claude Desktop app

Claude Desktop for Windows and Mac has a Claude Code tab inside it. You click instead of typing install commands. You can get it from Anthropic's download page, claude.com/download.

Claude Code on the web

The web version lives at claude.ai/code, so there is nothing to install. It uses cloud sessions, which need a claude.ai subscription sign-in. An API key or Console login will not work there.

For example

Sam, a student with a Windows laptop, dislikes typing commands. He installs Claude Desktop and uses the Claude Code tab. Aisha, a freelance developer, already lives in her terminal, so she types claude there instead.

04Claude Code login: how to sign in

Signing in is like showing your badge at the front desk. You can do it the first time you run claude. If you need to sign in again later, run claude auth login or type /login inside a session.

Teams that use Amazon Bedrock, Google Cloud Vertex AI or Microsoft Foundry can sign in with those credentials instead. For problems with sign-in itself, see Claude Code login help.

05Claude Code not working? Fix the common errors

When something fails, read the error text word for word. Each message below points to a different fix.

command not found

Your computer cannot find the program. Either it was not installed, or its folder is missing from PATH (the list of places your computer looks for programs). Run the install steps again, then open a new terminal.

Release verification failed for Claude Code

The installer could not check the file it downloaded. Follow the installer troubleshooting steps on Anthropic's site and retry with a supported install method.

403 Forbidden

Your account or organization was denied access. Check which account you are signed in with, and use the sign-in method that matches the provider you chose.

Unable to get organization UUID

You are using a cloud session with an API key or Console login. Cloud sessions need your claude.ai account. Run claude auth login or /login, then try again with that account.

API Error: 5xx and 529 Overloaded

These come from Anthropic's side, like a restaurant that is too busy to seat you. Wait a little, retry, and check the Claude Code status page for an incident.

429

You hit a rate limit (a cap on how much you can use in a set time) or your plan's usage capacity. Wait for the limit window to reset and review your plan limits.

Do not keep retrying a 5xx or 529 error over and over. If the status page shows an incident, waiting is the only fix.

06How much does it cost to use Claude Code?

In the US, the Pro plan is $20 a month and includes Claude Code. Annual Pro billing is $200, charged up front. Prices exclude tax.

Free$0, does not include Claude Code

Pro$20 per month

Max 5x$100 per month, 5x Pro usage

Max 20x$200 per month, 20x Pro usage

Usage limits apply on every plan, and how fast you use them depends on the model, conversation length and file size. For more on plans, see Claude Code pricing and whether Claude Code is free.

07Where to get help

Sign in to Claude, open the profile menu, choose Get help and use the support messenger. If you cannot log in at all, the message icon in the Help Center still works. For technical bugs, people report issues on the Claude Code GitHub repository.

Stuck after trying the fixes above?

Open Claude support

Free users can chat with Fin, Anthropic's support assistant.

Q&AFAQ

How do I use Claude Code for the first time?

Install it with the command for your system, open a new terminal, type claude and sign in when asked. Then type what you want in plain words.

Is there a Claude Code tutorial for beginners?

This page is one. Anthropic's overview page is the official source for install commands and setup.

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

You need to be comfortable typing a few commands to install and start it. The Claude Desktop app lets you click instead.

Can I use Claude Code with the Free plan?

No. The pricing comparison does not include Claude Code in Free. Pro, Max or API credentials are needed.

Why does Claude Code say command not found?

The program is not installed, or its folder is missing from PATH. Reinstall, then open a new terminal window.

Related guides

Claude Code download and install

Claude Code login help

Claude Code pricing

Claude Code: everything in one place

Prices, limits and links were checked on December 6, 2026. SolaFix AI is not affiliated with Anthropic.