Claude Code for Beginners: Setup and First Projects
I started Claude Code with no preparation and made mistakes fast. A beginner's guide to installation, CLAUDE.md and your first projects.
· 9 min
I got into Claude Code the way I get into almost every new tool: no preparation, just try it out. That was a mistake. After a few hours I had a CLAUDE.md so stuffed that Claude read dozens of files for every task.
Token budget gone, context overloaded, and Claude started making things up, not out of malice, but simply because too much was loaded at once and none of it was cleanly structured. The most important tip up front: structure comes before everything else.
What sets Claude Code apart from a chat window
Claude Code isn't a chat interface. It runs in the terminal or right in your IDE and works with the project: it reads files, runs code, does Git operations, debugs errors. All in one session.
The difference from an ordinary chat assistant: Claude Code really works in the project directory. It sees files, reads them and changes them directly, without you copying code back and forth. Sounds like a small difference, but it isn't: less switching between editor, terminal and browser saves more time than you'd think at first.
Which model runs depends on your plan. On Pro and Team Standard accounts, Claude Code now starts with Claude Sonnet 5 by default, on Max, Team Premium and Enterprise accounts with Claude Opus 5 (Anthropic's model docs). You can switch between them anytime with /model. Claude Code works agentically: the model plans intermediate steps, carries them out and reacts to the result, instead of just giving a single answer to your input.
Installation: CLI, Homebrew or desktop app
There are two ways: the desktop app with a graphical interface, no terminal needed, and the CLI for the terminal or for VS Code. Most people start with the CLI.
On Mac, Linux and also under WSL, one command in the terminal is enough:
curl -fsSL https://claude.ai/install.sh | bash
A separate installation step for WSL isn't needed anymore, the same command covers it (quickstart docs). On Windows it runs through PowerShell:
irm https://claude.ai/install.ps1 | iex
Git for Windows is recommended but not required: if it's installed, Claude Code uses Bash as its shell tool, otherwise it falls back to PowerShell. If you'd rather install through a package manager, use brew install --cask claude-code on the Mac or winget install Anthropic.ClaudeCode on Windows. Neither of those updates itself, while the native install via curl or irm does, in the background. claude --version shows you whether the installation worked.
If you want to work without a terminal at all: the desktop app is available for Mac and Windows, and now for Linux as a beta too. It comes with parallel sessions, its own diff viewer and a built-in terminal. For that it needs a paid plan (Pro, Max, Team or Enterprise).
After installing, you start with claude in the terminal and sign in the first time, either with a claude.ai Pro or Max plan, which I'd recommend for regular use, or with an API key through the Anthropic Console with prepaid credit. If the context gets out of hand, API costs climb fast. More on that in a moment.
The trap I fell into: a CLAUDE.md that gets out of hand
Before you type claude for the first time, a short stop is worth it. What do you want to build, and how should the files be organized? What does Claude need to know about the project, and what belongs in the CLAUDE.md?
The CLAUDE.md is a Markdown file in the project directory that Claude reads before every task. It holds the rules for the project: which files are relevant, which naming conventions apply, what Claude shouldn't touch. Basically the handover you'd give a new developer.
The problem: if the CLAUDE.md is too big or points to too many files, Claude loads all of it into the context for every task. The more tokens in the context, the more expensive the session and the higher the chance that Claude starts making things up. I've been through that myself. The fix isn't more documentation, it's more focused documentation.
Anthropic's own docs give a guideline for this: under 200 lines per CLAUDE.md file (memory docs). If the list gets longer, a .claude/rules/ directory is worth it: rules move there that only load when Claude is actually working with the matching files, instead of riding along in every session. Claude Code reads CLAUDE.md files up the directory tree, from the root to the current working directory, and appends a personal CLAUDE.local.md after them. I wrote more about the bigger topic of steering context in Context Engineering: Challenges and Tips.
Next to the CLAUDE.md there's a second config file, ~/.claude/settings.json. Not everything in it is serious: you can also use it to replace the list of spinner verbs, the words Claude Code shows while it's thinking.
Claude Code in VS Code
I use Claude Code almost exclusively in VS Code, not in a standalone terminal. The reason: I see the file structure right next to the terminal panel. When Claude changes a file, I immediately see which one and can check it in the editor at the same time.
The Claude Code extension is free in the VS Code Marketplace and brings its own copy of the CLI for the chat panel. For the claude command in the integrated terminal you still need the standalone CLI install from above (VS Code docs). After installing, Claude Code opens as a panel in VS Code with full access to the project directory, plus inline diffs and the option to review plans before they run.
A tip I use myself: dictation. Instead of typing long prompts, I simply speak a lot of instructions. Sounds odd at first, but it works well for complex tasks where I have to give a lot of context. For content marketers or freelancers who don't sit in the terminal every day, it's a real option.
Three projects from my own work
Here are three projects I built with it that actually run.
WordPress theme
For a long time this website ran on a WordPress theme I built with Claude Code. The 70s theme was my first bigger project with it: templates, block patterns, CSS, PHP functions and web tools. Claude Code didn't just generate code and hand it back, it worked directly in the files, made changes and caught errors.
That was also the project where I learned what a good CLAUDE.md looks like and what happens when it gets too big. If you want to see how that looked in practice: I documented the case here.
LLM Bot Monitor plugin
The second project was a WordPress plugin: the LLM Bot Monitor. The plugin tracks which AI bots visit my site, crawlers from OpenAI, Anthropic, Google and others. I wanted to know whether my site is being used as a source of training data and which bots drop by at all.
Claude Code helped develop the plugin architecture, built the database queries and wrote the admin interface. I set the direction, Claude took over the implementation, and I checked before every deployment. Human control was mandatory at every step, especially for a plugin that writes to the database.
Carousel automation
I use a skill that automatically generates LinkedIn carousels, a JavaScript tool that builds finished slides from input text. I built it with Claude Code: first the logic, then the layout, then the integration as a skill that Claude can use itself.
Skills and plugins: the ecosystem around it
Skills are Markdown files that explain to Claude how to approach a certain kind of task. Not real programs, just instructions Claude uses as a reference while it works. A skill for SEO analyses, for example, can describe which points get checked in what order and in which format the result comes back.
There's a growing community of ready-made plugins and skills. If you don't want to build everything yourself, that's a good place to start. Skills are too big a topic for this post, so they get their own: Claude Code Skills: A Field Report, with concrete examples from my work, including the carousel automation from above.
How much autonomy you give Claude
Claude Code doesn't act unchecked. How much it's allowed to decide on its own is controlled by the permission mode, which you cycle through with Shift+Tab (docs on permission modes).
In the default mode, Claude asks before every file change, you see a diff and approve or reject it. In accept-edits mode, Claude applies file changes automatically but still asks before terminal commands. Plan mode lets Claude propose changes without carrying them out. Some accounts also have an auto mode that checks risky actions in the background and only asks again after repeated blocks.
To start with, I'd stay in the default mode until you see how Claude actually works. Human control at every step still makes sense, especially when Claude writes to a database or overwrites files you haven't committed yet.
How best to get started
If you want to learn Claude Code from the ground up: Anthropic offers the course Claude Code in Action. It covers the basics: installation, first commands and a clean project setup from the start. Useful if you don't want to fight your way through half-finished docs pages.
Start with a small, real project. Not a proof of concept, but something you actually need. That keeps motivation up, and you learn faster what works and what doesn't. If you start with a project that's too big, you easily get lost in details Claude Code could handle well if the structure had been right from the beginning.
Dictation is worth trying. For longer prompts where you have to give a lot of context, it's faster than typing.
Good prompting comes with time. The most important point: give context, break tasks into small steps, check after every step.
Not "build me a complete website" but "create the header component to these specs". Sounds like more work, but it's a lot more reliable. The prompting basics are a good companion to this.
Questions, or want to show what you've built? I'm on LinkedIn: eric-hinzpeter-content-marketing.
FAQ
- What is Claude Code?
- A tool that runs in the terminal or in your IDE and works directly in the project: reading files, changing them, running code, Git operations and debugging in one session. Depending on your plan it starts with Claude Sonnet 5 or Claude Opus 5 and works agentically instead of just answering prompts.
- How do I install Claude Code?
- On Mac, Linux and WSL, curl -fsSL https://claude.ai/install.sh | bash in the terminal is all it takes; on Windows, irm https://claude.ai/install.ps1 | iex in PowerShell. Alternatively there's Homebrew, WinGet or the desktop app for Mac, Windows and Linux (beta). Then you start it with claude and sign in with a Pro, Max, Team or Enterprise plan, or with an API key through the Anthropic Console.
- What is the CLAUDE.md file?
- A Markdown file in the project that Claude reads before every task: rules, conventions and what's off limits, like a handover to a new developer. Anthropic's own docs recommend staying under 200 lines per file, because an overloaded CLAUDE.md loads too much into the context, costs more tokens and raises the risk of hallucinations.

Eric Hinzpeter
Eric Hinzpeter, Senior B2B Content Strategist. He builds AI agents and marketing automation for production use and writes up what comes out of it here.