Key takeaways
- Claude Code is an agentic coding tool from Anthropic that reads your codebase, edits files and runs commands, and it asks permission before edits and most shell commands by default.
- The Free Claude plan does not include Claude Code, while Pro ($20 a month billed monthly in November 2026), Max, Team and Enterprise do, and usage limits are shared with the regular Claude apps.
- Beginners can install it with Anthropic's native installer, start it by typing claude inside a project folder, and use /init to create a CLAUDE.md file that describes the project.
In this story 8 sections
Claude Code is Anthropic's AI coding assistant that reads your project, edits files and runs commands for you, all from a plain English request. If you have been wondering how to use Claude Code without a programming background, or you code already and just want a clear starting point, this primer explains what it actually does, what you need to run it, and how to get through your first session without breaking anything.
What Claude Code does in plain terms
Anthropic's official overview describes Claude Code as an agentic coding tool that reads your codebase, edits files, runs commands and works with your development tools. The key word is agentic. A regular chatbot hands you a snippet and leaves the copying, pasting and testing to you. Claude Code does those steps itself.
Think of the difference between asking a friend for directions and handing them your car keys. With a chatbot you get directions. With Claude Code you hand over the keys, but the car still asks your permission before it turns any corner you have not approved.
If the idea of AI that takes actions rather than just answering is new to you, our explainer on how AI agents work covers the broader concept.
How a Claude Code session works
You open a project folder and start a session. Claude reads files to understand the project, then proposes or makes changes.
According to Anthropic's permissions documentation, reading files inside your project needs no approval, but editing files and running most shell commands do. When it wants to run a command, you see the exact command and a short menu: approve it once, approve similar commands for the rest of the session, or say no. Those rules are enforced by the software itself, not left to the AI's judgment.
You can change how cautious it is. Pressing Shift+Tab switches the permission mode during a session. The modes Anthropic lists include:
- Default (Manual), which asks the first time it uses each kind of tool
- Plan, which reads and investigates but does not edit your source files
- acceptEdits, which approves file edits automatically inside your project folder
- Auto, which skips routine prompts while a background check screens commands
Beginners should stay on the default or plan mode until they trust what they are seeing.
Where you can run it
The terminal version gets the most attention, but it is not the only way in. Anthropic lists several places Claude Code works:
- The terminal, on macOS, Linux, WSL and Windows
- VS Code (and Cursor) through an extension that shows changes as inline diffs
- JetBrains IDEs such as IntelliJ IDEA and PyCharm, through a plugin that needs the command line tool installed too
- The Claude desktop app for Mac and Windows, which includes Claude Code built in
- The web at claude.ai/code, plus the Claude iPhone and Android apps
All of these share the same engine, so your project instructions and settings carry across them. If you are nervous about a terminal, the desktop app or VS Code extension is a gentler first step.
What you need before your first session
You need a paid account. On Anthropic's pricing page, the Free plan does not include Claude Code. At the time of writing (November 2026), Pro costs $20 a month billed monthly or $17 a month billed annually, and Max starts at $100 a month. Team and Enterprise plans include it too. You can also sign in with a Claude Console account and pay per use through the API.
One detail catches people out. Anthropic's support article on using Claude Code with a paid plan says your usage limits are shared between the regular Claude apps and Claude Code. A long coding session eats into the same allowance you use for chat. It also warns that if an ANTHROPIC_API_KEY environment variable is set on your machine, Claude Code uses that key instead of your subscription, which means API charges.
How to install it and run your first commands
The quickstart guide recommends the native installer, which updates itself in the background:
- On macOS, Linux or WSL, open a terminal and run curl -fsSL https://claude.ai/install.sh | bash
- On Windows PowerShell, run irm https://claude.ai/install.ps1 | iex (Homebrew and WinGet installs also work but do not update themselves)
- Check it worked with claude --version
- Move into a project folder, then type claude to start
- Sign in through the browser window that opens, using the same login you use for Claude
Once you are in, start with questions rather than changes. Anthropic's own suggestions include "what does this project do?" and "explain the folder structure." Then try a small, safe edit. A few session commands are worth learning on day one:
- /help lists everything available
- /init writes a starter CLAUDE.md file describing your project
- /clear wipes the conversation so you can start a fresh task
- /exit ends the session
What CLAUDE.md is and why beginners should care
CLAUDE.md is a plain text file in your project that Claude Code reads at the start of every session. Per the memory documentation, it holds things like your build commands, coding style and the libraries you prefer. Running /init creates a first draft by scanning your project, and if a file already exists, it suggests improvements instead of overwriting it.
Anthropic suggests keeping each file under about 200 lines. Short, specific instructions work better than long essays, which matches what we cover in our guide to writing better AI prompts.
Limits and common myths
Myth: it replaces knowing how code works. It writes a lot of code quickly, but you still decide what gets accepted. If you cannot tell whether a change looks reasonable, keep requests small and ask it to explain each change before approving.
Myth: it is free with a Claude account. It is not available on the Free plan, and usage counts against paid plan limits.
Myth: permission rules make it fully safe. Anthropic itself says command rules are not a security boundary and recommends sandboxing for stronger protection. Be careful with projects you downloaded from strangers. Instruction files inside a repository can steer the agent, as our report on malicious AGENTS.md files shows, and approving commands too freely has caused real problems, covered in our piece on the Claude Code secrets leak.
Myth: CLAUDE.md is a rulebook it must obey. Anthropic describes these files as context, not enforced settings. Claude usually follows them, but anything that must never happen belongs in permission rules.
What to do next
Pick a tiny personal project, or a copy of one, and spend twenty minutes asking Claude Code questions about it before you let it change a single line. Run /init, read the CLAUDE.md it writes, and fix anything it got wrong. Once that feels comfortable, give it one small task in plan mode, review the plan, then let it make the edit. That habit of reading before approving is what separates a helpful assistant from an expensive mess. For more practical guides like this one, browse our AI section.
Sources
Share this story
Spotted an error? Tell us


