- Claude Code The Words You’ll Need
- Claude Code The Three Levels
- Claude Code What Agentic Really Means
- Claude Code Getting Started in VS Code
In the last few posts, we covered the words, the three levels and how an agent works. Now it’s time to try it. In this post, we’ll install Claude Code in VS Code, open a practice project, and give Claude its first small job.
What you need
- VS Code: free from Microsoft at code.visualstudio.com. If you already have it, make sure it’s up to date.
- A paid Claude plan: Claude Code needs a Pro, Max, Team or Enterprise plan, or an Anthropic Console account. The free Claude plan doesn’t include Claude Code. Check Anthropic’s site for current plans and prices. I have found that the Pro plan is more than enough to bet started and be productive.
- A practice folder: an empty folder somewhere on your computer, such as
claude-practice. Starting with a practice folder means nothing important can go wrong while you learn.
Step 1: Install the extension
- In VS Code, open the Extensions view by clicking the squares icon in the left sidebar, or by pressing
Ctrl+Shift+X(Cmd+Shift+Xon a Mac). - Search for Claude Code.
- Pick the one published by Anthropic and click Install.
If nothing seems to happen after installing, restart VS Code.
Step 2: Open your practice folder
Choose File > Open Folder and pick your practice folder. Claude Code works on the folder you have open, so this tells it where it’s allowed to work.
Step 3: Open Claude and sign in
There are a few ways to open the Claude panel:
- the orange Spark icon in the top-right corner of the editor (it only appears when a file is open)
- ✻ Claude Code in the status bar at the bottom right of the window
- the Spark icon in the left sidebar, which also lists your past sessions
The first time you open it, Claude asks you to sign in. Your web browser opens, you sign in to your Claude account and approve the connection, and then you return to VS Code. You don’t need an API key.
Step 4: Choose how much Claude asks first
At the bottom of the prompt box is the mode indicator. It controls how often Claude stops to ask your permission:
- Manual: Claude asks before it edits files and before most commands.
- Plan: Claude describes what it intends to do and waits for your approval before changing anything.
- Accept edits: Claude edits most files without asking.
- Auto: a safety check reviews most actions instead of asking you. This is the starting mode in recent versions.
While you’re learning, I suggest switching to Manual. You’ll see every change before it happens, which is the best way to learn what Claude actually does.
Step 5: Your first prompt
Click in the prompt box and type something small and safe:
Create a simple web page called index.html about my favourite hobby, gardening. Give it a heading, a short paragraph and a list of three tips.
Press Enter to send. (To start a new line without sending, use Shift+Enter.)
Step 6: Review and approve
Claude explains what it plans to do, then asks permission to create the file. It shows you the change side by side: the old version on one side and the proposed one on the other. For a brand-new file, the old side is empty. You can:
- accept the change
- reject it
- tell Claude what to do instead, such as “Make the heading green”
Accept it, then open index.html in your web browser. You just directed an agent to build something.
Step 7: Keep the conversation going
Now ask for a change: Add a section with a table of vegetables and the month to plant each one. Notice that you didn’t have to paste the page back in. Claude can read the file itself. That’s the Level 3 difference from the earlier posts.
A few handy tips
- Point at a file: type
@followed by part of a file name, such as@index, to tell Claude exactly which file you mean. - Point at some lines: select lines in a file before you type your prompt. Claude automatically sees what you’ve selected.
- Take the tour: press
Ctrl+Shift+P(Cmd+Shift+Pon a Mac) to open the Command Palette and run Claude Code: Open Walkthrough. - Start fresh for a new task: a new session keeps the context window clear. Past sessions stay in the session history if you need them.
Next up
Each new session starts with a fresh memory. In the next post, we’ll look at how to teach Claude about your project so it doesn’t start from scratch every time.