Claude Code for beginners: your first hour
Claude Code for beginners: it needs a paid Claude plan or a Console account, installs with one command, and is safest if you commit to git first.
Contents
Claude Code for beginners comes down to four steps in the first hour: install the claude command, sign in with a paid Claude plan, give it one small task in a project folder, and learn five slash commands. From then on, Claude Code reads your files, runs commands and makes changes from plain-English requests, as far as its permission mode allows.
We assume you have a code project and have opened a terminal before. If the terminal is new to you, Anthropic's quickstart links a terminal guide first.
What beginners need before starting#
- A paid Claude plan or a Console account. As of 22 October 2026, Anthropic's pricing page includes Claude Code in Pro ($20 a month, or $17 a month billed yearly) and Max (from $100 a month). The free plan doesn't include it. A Claude Console account works too, billed at API rates.
- A project folder: any code you're working on, ideally one that's already in git (more on that below).
- About ten minutes for setup. The rest of the hour is using it.
Step 1: Install Claude Code#
Open a terminal and run the command for your system, from Anthropic's quickstart:
| System | Command |
|---|---|
| macOS, Linux, WSL | curl -fsSL https://claude.ai/install.sh | bash |
| Windows PowerShell | irm https://claude.ai/install.ps1 | iex |
| macOS with Homebrew | brew install --cask claude-code |
| Windows with WinGet | winget install Anthropic.ClaudeCode |
Then open a new terminal window and run claude --version. What you might see:
- A version number followed by
(Claude Code): it worked. claudenot found: the install folder isn't on your PATH yet. claude: command not found has the fix for each system.'irm' is not recognized as an internal or external command: you pasted the PowerShell line into CMD.
The curl and irm installs update themselves in the background. Homebrew and WinGet installs don't, so run brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode now and then. On native Windows, Anthropic also recommends Git for Windows, so Claude Code can use its Bash tool. On Linux you can install from Anthropic's apt, dnf or apk repository instead (install Claude Code on Linux), and a Chromebook runs the same command once ChromeOS's Linux environment is on (Claude Code on a Chromebook).
Step 2: Sign in#
-
Go to your project folder and start Claude Code:
bashcd /path/to/your/project claude -
On first use it opens your browser. Pick your Claude account and approve; that computer stays signed in.
-
The prompt appears, with the version, the current model and the working directory above it.
-
To switch accounts later, type
/logininside Claude Code.
If ANTHROPIC_API_KEY is set in your shell, Claude Code asks whether to use the key, and if you approve, it skips the browser login and bills the key. Anthropic's help page says this results in "API usage charges rather than using your subscription's included usage". If you meant to use your plan, decline and run unset ANTHROPIC_API_KEY. Sign-in loops are covered in Claude Code keeps asking me to log in.
Step 3: Your first task#
Ask a question before you ask for a change:
what does this project do?
Claude reads the files it needs and explains. Then try a small, safe change:
add a short "How to run it" section to the README, based on package.json
The status bar shows the permission mode, and the mode decides what happens next (permission modes):
- Auto mode, where a new session usually starts on recent versions: Claude makes the change without asking, and a second model, a classifier, reviews risky actions in the background.
- Manual mode: Claude shows the change and asks first. Read it, then choose Yes.
claude --permission-mode manualstarts a session in Manual. Shift+Tabcycles through the modes at any time.
Anthropic's quickstart gives two tips for the prompt itself. Name the problem: not "fix the bug" but "fix the login bug where users see a blank screen after entering wrong credentials". And break a big ask into steps, because a numbered list of three steps works better than one paragraph that asks for everything.
The five commands that matter#
Claude Code has dozens of slash commands, and a beginner needs five of them most days. The quoted descriptions are Anthropic's own, from the commands reference:
| Command | What it does | When to use it |
|---|---|---|
/init |
"Initialize project with a CLAUDE.md guide" | Once per project. It writes a file of notes Claude reads at the start of every session |
/clear |
"Start a new conversation with empty context" | Between unrelated tasks |
/compact |
"Free up context by summarizing the conversation so far" | When a long task gets slow or forgetful |
/rewind |
"Rewind the conversation and/or code to a previous point" | When Claude went the wrong way |
/usage |
"Show session cost, plan usage limits, and activity stats" | To see how much of your limit is left |
Four more keys and flags:
Escstops Claude mid-action, andEsctwice opens the same menu as/rewind./helplists every other command.claude -cpicks up the last conversation in this folder.claude -rlets you choose an earlier one from a list.
How the limits work#
Claude Code shares your plan's limits with the Claude app. Anthropic's pricing page says so in one line, "Your activity across Claude on web, desktop, mobile, and Claude Code all draws from the same pool", and sets out the clock in another: "Every plan has usage limits that reset on a rolling five-hour session window, and paid plans add weekly limits on top."
- A long coding session can use up your five-hour window, and chatting in the Claude app in the same window draws on the same pool.
- At the limit you wait for the reset, move to a higher plan, or, on a paid plan, turn on usage credits to keep working at API rates (the pricing page's own list).
- Claude Code uses more than chat, because it reads files and runs commands, and each file it reads is context.
The 5-hour limit explained covers the window in detail, and how to check Claude Code usage shows where to read what's left.
How not to break things#
Claude Code changes real files on your computer. Three habits keep that safe.
- Commit to git before you start. Then any change is one
git diffto read and onegit restoreto undo. You can even ask Claude to "commit my changes with a descriptive message". If the project isn't in git yet, rungit initand make a first commit before anything else. - Don't treat rewind as a backup. Checkpoints are handy, but Anthropic warns they "only track changes made through Claude's file editing tools. Changes made through Bash commands or external processes are not captured. This isn't a replacement for git."
- Read before you approve. New sessions often start in auto mode, which doesn't ask. Early on, switch to Manual mode (the status bar reads
⏸ manual mode on), which stops and asks before most file edits and shell commands. Approve actions one by one until you've seen how Claude works on your project, and allow more once you trust it.
Later, add a check Claude can run: "Run the tests and paste the output" turns "looks done" into "is done". We do this with a failing test first, written up in test-driven development with Claude Code.
If you'd rather have windows than a terminal#
Not everyone takes to the terminal. Anthropic itself offers a desktop app and a VS Code extension, and Claude Code desktop app alternatives compares the desktop app with the others.
Shuriken is one of those alternatives. It runs Claude Code on your own computer, with your own Claude account, in an app with windows. Each task is a chat, its changes sit in a Changes panel, and each new chat works on its own git branch, so trying something doesn't touch your main copy. On a new computer, Shuriken installs the tools that are missing. It also runs Codex, Gemini CLI and other agents the same way, should you want them later.
The ideas you learn here, from prompts to limits, carry over either way. If windows suit you better, download Shuriken.
Try the free tool: Claude limit reset tracker
Sources
- Quickstart (Claude Code docs) (accessed 22 October 2026)
- Commands reference (Claude Code docs) (accessed 22 October 2026)
- Best practices for Claude Code: checkpoints and course-correcting (accessed 22 October 2026)
- Permission modes (Claude Code docs) (accessed 22 October 2026)
- Claude plans and pricing (accessed 22 October 2026)
- Use Claude Code with your Pro or Max plan (Claude Help Center) (accessed 22 October 2026)
Frequently asked questions
Is Claude Code free?
No. As of 22 October 2026, Anthropic's pricing page lists Claude Code on Pro, Max, Team and Enterprise, not on the free plan. You can also use it with a Claude Console account and pay API rates.
Do I need to know how to code to use Claude Code?
It helps. Claude Code writes and runs code for you, but you review its changes, read its diffs and decide when it's done. Beginners do fine on small projects, especially with git as a safety net.
Does Claude Code use the same limits as the Claude app?
Yes, on Pro and Max. Anthropic's help page says the limits are shared across Claude and Claude Code, so a long coding session leaves less for chat in the same window.
Can Claude Code delete my files?
Depending on the permission mode, it asks you first or a safety check reviews risky actions, and checkpoints let you rewind its file edits. Checkpoints don't track changes made by shell commands, so commit to git before you start.
Is there a Claude Code app with windows instead of a terminal?
Yes. Anthropic offers a desktop app and a VS Code extension, and third-party apps such as Shuriken run Claude Code in a window too.