I Had Never Used a Terminal Before Installing Claude Code — Here's How It Went
I used to think 'terminal' was something only developers were allowed to touch. Turns out, installing Claude Code without any coding background took me about 20 minutes — and I'm going to walk you through every confused moment.
A few months ago I was staring at my Mac, completely lost, wondering what a 'terminal' even was. I'm not a developer — just someone who kept hearing that this thing called Claude Code could write software for you, and I wanted in. If you've ever thought 'I'll probably break my computer if I type the wrong thing,' stay with me. By the end of this, you'll have Claude Code running, even if you've never typed a command in your life.
🔍 What Even Is a Terminal?
The terminal is basically a chat window with your computer. Instead of clicking icons with your mouse, you type words and the computer does what you ask. That's it. That's the whole scary secret.
The first time I opened one, it was just a black screen full of text, and honestly it felt like I'd hacked into something I shouldn't have. But nothing breaks if you type something wrong — you'll just get a message like 'command not found,' which is the computer's polite way of saying 'I don't understand, try again.'
On a Mac, the easiest way in is pressing Command (⌘) + Spacebar, typing 'terminal' into the search box that pops up, and hitting Enter. You can also find it manually through Finder → Applications → Utilities → Terminal. Either way works.
📦 Installing Node.js and npm (The Boring but Necessary Part)
Before Claude Code can run, your computer needs Node.js — think of it as the engine Claude Code runs on top of, the same way an app needs an operating system underneath it. Installing Node.js also brings along npm, which is essentially an app store for code. Claude Code gets installed through npm.
First, check if you already have it. Type `node --version` and then `npm --version` into the terminal. If you see something like `v20.0.0`, you're already set — skip ahead. If you get 'command not found,' head to nodejs.org, download the LTS version (the stable one, on the left), and run the installer like any other Mac app.
Here's the part that tripped me up: after installing, you have to completely close and reopen the terminal before it recognizes Node.js. I sat there for ten minutes wondering why the install 'didn't work' before realizing I just needed to restart the window.
🚀 The Moment Claude Code Actually Installs
This is the main event. Type this exactly as written and press Enter:
`npm install -g @anthropic-ai/claude-code`
Breaking it down: `npm install` means 'go get something from the app store,' `-g` means 'install it for my whole computer,' and the last part is just the name of the program. Once it starts, a wall of text will scroll down your screen. That's completely normal; it's just downloading files. When the prompt comes back and you can type again, you're done.
If you hit an error like `EACCES: permission denied`, add `sudo` in front of the command: `sudo npm install -g @anthropic-ai/claude-code`. It'll ask for your Mac password, and yes, nothing will appear on screen as you type it — that's just how passwords work in a terminal, not a glitch.
✅ Proving It Worked, Then Saying Hello
To confirm the install actually happened, type `claude --version`. If you see something like `claude/1.x.x (darwin-arm64) node-v20.x.x`, you're officially set up. The exact numbers don't matter. What matters is that something shows up instead of an error.
Now for the fun part. Type just `claude` and press Enter. It'll ask you to connect your Anthropic account — log in if you have one, or create one on the spot. Once that's done, you'll see 'Welcome to Claude Code!' with a `>` prompt waiting for you.
That `>` is where the magic happens. You can type in plain language — 'build me a simple to-do list app' or 'organize the files in this folder' — and it just does it. I genuinely sat there typing random requests just to watch it work. This exact blog post, by the way, started as me typing 'write a beginner-friendly blog post about installing Claude Code' into that same prompt.
📚 Handy Commands I Use All the Time
Running `claude --help` shows you every available option, but here are the ones I actually use. Typing `claude` alone starts a conversation mode — this is what you'll use 90% of the time. If you just want one quick answer without starting a whole conversation, use `claude -p "show me the files in this folder"`.
You can also navigate to a specific project first with `cd ~/Desktop/my-project` and then run `claude`. It'll read and work within that folder. Inside a Claude Code session, slash commands come in handy too: `/help` lists commands, `/clear` wipes the conversation, `/cost` shows how much you've spent in tokens, and `/exit` (or Ctrl+C) gets you out.
When a new version comes out later, updating is just as simple as the original install — run `npm update -g @anthropic-ai/claude-code` and you're on the latest version.
What's Next
Installation is done. Now comes the part that actually matters: using it. In the next post, I'll show you how to point Claude Code at a real folder and watch it analyze, organize, and even write files for you, plus how a simple automation script got built in minutes with zero coding knowledge on my part. If you got stuck anywhere along the way, drop a comment — I probably ran into the same problem and can help you through it. 🚀