Claude Code for Beginners: A Guide So Simple Your Grandma Could Follow
Even if you've never written a line of code, you can install Claude Code by following this guide. We promise it's that simple.
Want more technical details? After reading this, check out What’s Claude Code? for advanced features and comparisons with other AI tools.
What Even is Claude Code?
You’ve probably used ChatGPT or Claude’s web version — open a browser, type a question, get an answer.
Claude Code is different.
Imagine hiring an assistant who sits next to your computer. They don’t just answer questions — they can actually use your computer — open files, edit code, run commands.
That’s Claude Code.
Who is This For?
- You.
- People who don’t know how to code
- People who want to learn coding but find it intimidating
- Anyone who needs to quickly understand someone else’s code
Why Use Claude Code?
Some people ask: “Isn’t this just for engineers? I don’t write code.”
Wrong.
Claude Code is essentially: a powerful assistant that lives in your folder.
It can read files, organize files, edit files — not just code, but any files.
Real-Life Use Cases
| What you want to do | How Claude Code helps |
|---|---|
| Downloads folder is a mess | Auto-sort into “Documents”, “Images”, “Videos” folders |
| 500 photos need renaming | Batch rename to “2024-01-Trip-001.jpg” format |
| Search specific content in PDFs | Search all PDFs and find keywords |
| Organize expense CSV | Categorize spending, calculate totals, find biggest expenses |
| Writing cover letters | Read your resume, customize each letter |
| Notes scattered everywhere | Consolidate into one clean Markdown file |
| Turn journal entries into yearly review | Read all entries, analyze your year’s emotions and milestones |
The Point Is
Claude Code doesn’t care if your folder contains code or your diary.
It’s an assistant that can read, write, and execute commands, living in whatever folder you choose, waiting for your instructions.
Before You Install
-
Subscribe to Claude Pro or Max — Claude Code requires a paid subscription. Go to claude.com/pricing to choose a plan.
-
Install Node.js — This is the engine that makes Claude Code run. You don’t need to know what it is, just follow the steps below.
Mac Installation (Windows users scroll down)
Step 1: Open Terminal
- Press
Command + Spaceto open Spotlight search - Type
Terminal - Press Enter
You’ll see a black window waiting for your input. (New to Terminal? Check out this intro first.)
Step 2: Install Homebrew (if you haven’t)
Homebrew is like an “app store” for Mac, but you install things with commands.
Paste this into Terminal and press Enter (there’s a copy button in the top right corner of the code block):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
It might ask for your password (nothing shows up when you type — that’s normal). Type it and press Enter.
Wait for it to finish.
Step 3: Install Node.js
brew install node
Wait for it to finish.
Step 4: Install Claude Code
npm install -g @anthropic-ai/claude-code
Step 5: Check if It Worked
claude --version
If you see a version number (like 2.1.19), you’re done!
Windows Installation (Mac users skip this)
Step 1: Download Node.js
- Open your browser and go to nodejs.org
- Click the green button to download the “LTS” version (the one on the left)
- Open the downloaded file and click “Next” through the installation
- Important: Make sure “Add to PATH” is checked
Step 2: Open PowerShell
- Press the Windows key on your keyboard
- Type
PowerShell - Click “Windows PowerShell”
Step 3: Install Claude Code
Type this in PowerShell (there’s a copy button in the top right corner of the code block):
npm install -g @anthropic-ai/claude-code
Press Enter and wait.
Step 4: Check if It Worked
claude --version
See a version number? You’re good!
If You See Red Error Text
Windows sometimes blocks scripts. If you see something about “execution policy”:
- Close PowerShell
- Search for
PowerShellin the Start menu - Right-click and select “Run as administrator”
- Type this:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Type
Yto confirm - Try installing Claude Code again
Using Claude Code
Step 1: Create a Working Folder
Create a new folder on your Desktop. Name it whatever you like (e.g., my-project).
This folder is where Claude Code will work — it’ll create files and write code here.
Step 2: Open Terminal and Navigate to That Folder
Claude Code only works in the folder you’re currently in, so you need to “go into” that folder first.
- Press
Command + Space, typeTerminal, press Enter - Type
cdin Terminal (with a space after cd) - Drag the folder from your Desktop directly into the Terminal window
- Press Enter
You’re now in that folder. For more Terminal tips, check out this article.
Logging In
First time? Just type in your terminal:
claude
A webpage will pop up asking you to log in to your Anthropic account. Follow the steps.
Basic Usage
Once logged in, just tell it what you want to build:
Help me create a personal website
Help me write a web-based Snake game
Help me write a skeleton detection program
Claude will automatically create files, write code, and get it done for you.
Exiting
When you’re done, just close the Terminal window.
Useful Commands
| Type this | What it does |
|---|---|
/help | Shows all available commands |
/clear | Clears chat history, fresh start |
Related Articles
- What is a Terminal? - If that black window scares you, read this first
- What’s Claude Code? - Technical details and advanced features
Sources
- Claude Code Documentation - Official installation guide
- Node.js - Required for installation
- Anthropic - The company behind Claude
Get in Touch
Want to learn how to use Claude Code, or start building your own website with it? Fill out this form and I’ll get in touch!