A complete walkthrough — from a brand new MacBook or Windows PC to designing in the browser. Written for everyone, including people who've never opened a terminal. Plan for about 15 minutes.
Four pieces, in order. Each one builds on the last, so go through them top to bottom.
macOS 13 (Ventura) or newer. Works on both Apple Silicon and Intel Macs.
The Terminal is a small app that comes with every Mac. You type short commands into it and the computer does what you ask.
⌘ Space to open Spotlight (the search bar).Terminal and press Return.yourname@MacBook ~ %. The %sign means “ready for a command”. The language it speaks is called zsh— you don't need to know anything about it. Anything you copy from this guide will work..pkg file that downloaded.node --versionIf you see something like v22.11.0, Node.js is installed. If nothing happens or you see “command not found”, quit the Terminal completely (⌘ Q), reopen it, and try again.
Now we'll use Node.js to install Claude Code. Copy the line below, paste it into the Terminal, and press Return:
npm install -g @anthropic-ai/claude-codeIt will print a lot of text. That's normal — let it run. When the blinking cursor comes back next to your %, it's done. Verify by running:
claude --versionIf you see a version number, you're good. If you see a “permission denied” error, try again with sudo in front:
sudo npm install -g @anthropic-ai/claude-codeYou'll be asked for your Mac password. As you type it you'll see nothing on screen — that's a security feature, not a bug. Type it and press Return.
Type claude and press Return. Your browser will open and ask you to log in to Anthropic. Follow the prompts. After logging in, you can close the browser tab and return to the Terminal.
To leave Claude Code, press Ctrl C twice. You won't need to come back to the Terminal again for normal use — the Design In The Browser app handles that.
.dmg file that downloaded.In Design In The Browser, pick a folder to work in. If you don't have one yet, create an empty folder on your Desktop called something like my-first-site and select that.
Click the AI button and tell Claude what you want. For example: “Make a one-page personal site with a header, a paragraph about me, and a contact form.”
Watch the preview update as Claude writes the code. Click any element on the page to ask for changes. That's it — you're designing in the browser.
Windows 10 or Windows 11.
The Terminal is where you'll type a couple of commands. On Windows 11 it's already installed. On Windows 10 you may need to install it from the Microsoft Store first — search for Windows Terminal.
Windows key.Terminal and press Enter.PS C:\Users\YourName>. The >means “ready for a command”..msi file that downloaded.node --versionIf you see something like v22.11.0, Node.js is installed.
Paste this into the Terminal and press Enter:
npm install -g @anthropic-ai/claude-codeWait while it prints a lot of text. When the prompt (>) comes back, it's done. Verify by running:
claude --versionY when asked, then try the install again:Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedType claudeand press Enter. Your browser opens for you to log in to Anthropic. Follow the prompts and you're done. Press Ctrl C twice to exit.
.exefile. Windows SmartScreen may show a blue box saying “Windows protected your PC”. Click More info, then Run anyway. (This warning shows up because the app is new, not because anything is wrong.)Pick a folder to work in. If you don't have one yet, create an empty folder on your Desktop called something like my-first-site and select that.
Click the AI button and tell Claude what you want. For example: “Make a one-page personal site with a header, a paragraph about me, and a contact form.” Click any element to ask for changes.
Design In The Browser works with any of these. Steps 1 and 2 (the terminal and Node.js) are the same. Then install whichever you prefer:
npm install -g @openai/codexnpm install -g @google/gemini-cliInside Design In The Browser you can choose which one to use.
Your terminal still has the old environment from before you installed Node.js. Quit the terminal completely and reopen it. (⌘ Q on Mac; close the window on Windows.) Then try again.
npm tried to write to a folder you don't own. Run the same command with sudo at the start, and enter your Mac password when asked:
sudo npm install -g @anthropic-ai/claude-codePowerShell blocks scripts by default. Paste this line, press Enter, type Y when asked, then try the install again:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedMac: right-click the app icon and choose Open the first time. After that, double-click works normally.
Windows: if SmartScreen blocks it, click More info → Run anyway.
In the terminal, run claude /logout, then start Claude Code again with claude. The login flow will start fresh.
Join the Discord and post your error message. Real humans answer.
You're ready. Open a folder, click around, start designing.