DAZAI CHEN

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.

Claude Code AI Beginner Guide MacBook Windows Learning

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 doHow Claude Code helps
Downloads folder is a messAuto-sort into “Documents”, “Images”, “Videos” folders
500 photos need renamingBatch rename to “2024-01-Trip-001.jpg” format
Search specific content in PDFsSearch all PDFs and find keywords
Organize expense CSVCategorize spending, calculate totals, find biggest expenses
Writing cover lettersRead your resume, customize each letter
Notes scattered everywhereConsolidate into one clean Markdown file
Turn journal entries into yearly reviewRead 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

  1. Subscribe to Claude Pro or Max — Claude Code requires a paid subscription. Go to claude.com/pricing to choose a plan.

  2. 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

  1. Press Command + Space to open Spotlight search
  2. Type Terminal
  3. 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

  1. Open your browser and go to nodejs.org
  2. Click the green button to download the “LTS” version (the one on the left)
  3. Open the downloaded file and click “Next” through the installation
  4. Important: Make sure “Add to PATH” is checked

Step 2: Open PowerShell

  1. Press the Windows key on your keyboard
  2. Type PowerShell
  3. 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”:

  1. Close PowerShell
  2. Search for PowerShell in the Start menu
  3. Right-click and select “Run as administrator”
  4. Type this:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  1. Type Y to confirm
  2. 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.

  1. Press Command + Space, type Terminal, press Enter
  2. Type cd in Terminal (with a space after cd)
  3. Drag the folder from your Desktop directly into the Terminal window
  4. 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 thisWhat it does
/helpShows all available commands
/clearClears chat history, fresh start


Sources


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!

dazai.studio

Dazai Chen

dazai.studio@gmail.com