marketerswiki
Home
Resources
Learn
marketerswiki

The open playbook for performance marketers who build with AI.

Resources

  • SimpleCRM
  • Ads OS
  • Ledgeros
  • Tag Manager Engine
  • Skills
  • Playbooks
  • Vibecoding

Learn

  • Blog
  • Glossary
  • How-To Guides
  • Compare Tools
  • Claude Code For...
  • AI Tools Directory

Company

  • About
  • Privacy Policy
  • Terms of Service

© 2026 marketers wiki. All rights reserved.

Built withClaude Code
  1. Home
  2. /
  3. How-To
  4. /
  5. Install Claude Code
How-To Guide

How to Install Claude Code

Claude Code is a terminal-based AI coding tool that lets marketers build real software by describing what they want in plain English. This guide walks through installing it on Mac or Windows in under 10 minutes. When you finish, you will have Claude Code running and ready to build your first marketing tool.

Before you start

  • An Anthropic account - free to create at claude.ai
  • Node.js installed on your computer - free download from nodejs.org
  • Terminal access - built into Mac (Terminal app) and Windows (Command Prompt or PowerShell)

Step-by-step installation

1

Create an Anthropic account

Go to claude.ai and sign up. You can use a Google account, Apple account, or create an account with your email. The account is free to create. You will add billing details later when prompted by Claude Code - usage is pay-as-you-go, typically $5 to $30 per month for active use.

Already have an Anthropic account? Skip to step 2.

2

Install Node.js

Claude Code requires Node.js version 18 or higher. Go to nodejs.org and download the LTS (Long Term Support) version for your operating system. Run the installer and follow the on-screen prompts. Accept all defaults - no custom configuration is needed.

To verify Node.js installed correctly, open your terminal and run:

node --version

You should see a version number like v22.0.0. If you see an error, restart your terminal and try again.

3

Open your terminal

The terminal is where you run commands. It sounds technical but using it is straightforward - you type a command, press Enter, and something happens.

Mac

Press Cmd + Space, type "Terminal", and press Enter. Or go to Applications > Utilities > Terminal.

Windows

Press the Windows key, type "PowerShell", right-click it, and select "Run as administrator". Alternatively use Windows Terminal from the Microsoft Store.

4

Run the install command

In your terminal, type the following command exactly and press Enter:

npm install -g @anthropic-ai/claude-code

The -g flag installs Claude Code globally, meaning you can run it from any folder on your computer. The install takes about 30 to 60 seconds. You will see output scrolling past - this is normal.

5

Run claude to authenticate

Type the following command and press Enter:

claude

Claude Code will open your web browser and take you to the Anthropic authentication page. Log in with the account you created in step 1. Once authenticated, return to your terminal - you should see Claude Code's interface waiting for your first prompt.

6

Verify the installation

Open a new terminal window and run:

claude --version

If a version number appears (for example @anthropic-ai/claude-code@1.x.x), Claude Code is installed and ready. If you see "command not found", check the troubleshooting section below.

Mac vs Windows differences

Claude Code works identically on both platforms. There are a few small differences to be aware of.

Mac

  • Use Terminal or iTerm2 (recommended for better experience)
  • No permission issues with global npm installs on most setups
  • If you get permission errors, use: sudo npm install -g @anthropic-ai/claude-code
  • Homebrew users: Node.js is also available via brew install node

Windows

  • Run PowerShell as administrator for the install command
  • Windows Terminal from the Microsoft Store gives a better experience than Command Prompt
  • WSL (Windows Subsystem for Linux) is another option and works well with Claude Code
  • If npm is not recognized after installing Node.js, restart your terminal

Common errors and fixes

Error

"claude" is not recognized as a command

Why it happens: The npm global bin directory is not in your system PATH. This happens more often on Windows.

Fix: Close your terminal and open a new one. If the error persists, run: npm config get prefix - then add that directory followed by /bin (Mac) or \bin (Windows) to your PATH variable. On Windows, search "Environment Variables" in the Start menu to edit PATH.

npm config get prefix

Error

EACCES: permission denied during install

Why it happens: Your system requires elevated permissions to install global npm packages. More common on Mac.

Fix: On Mac, prefix the install command with sudo:

sudo npm install -g @anthropic-ai/claude-code

Error

Node.js version too old error

Why it happens: Claude Code requires Node.js 18 or higher. Some systems have older versions installed.

Fix: Check your current version with node --version. If it is below 18, go to nodejs.org and install the current LTS version. The new version will replace the old one.

node --version

What to do after installing

Claude Code is installed. Now use it. Here are the two best next steps for marketers who want to get results quickly.

Learn the vibe coding workflow

The marketers.wiki vibecoding page explains the full workflow for building production marketing tools with Claude Code - from describing your first project to deploying it. Start here if you have never used Claude Code before.

Go to the vibecoding workflow

Use pre-built skills for your first project

Claude Code skills are pre-written instruction sets that give Claude domain-specific expertise for marketing tasks. Drop one into a Claude Code session and you get better results from your first prompt. marketers.wiki publishes skills for GTM automation, Google Ads auditing, landing page building, and more.

Browse available skills

Frequently asked questions

Is Claude Code free to install?

Claude Code itself is free to install. You pay for the API tokens you use during conversations - this is called pay-as-you-go pricing. Most marketers spend between $5 and $30 per month depending on how intensively they use it. There is no monthly subscription required. You do need to add a payment method to your Anthropic account before Claude Code can process requests.

Do I need to know how to code to use Claude Code?

No. Claude Code is the primary tool for vibe coding - a workflow where you describe what you want in plain English and the AI writes the code. You need to know how to open a terminal, type a command, and press Enter. You do not need to write, read, or understand code to get useful tools built.

What is the difference between Claude Code and Claude.ai?

Claude.ai is the web-based chat interface for having conversations with Claude - similar to ChatGPT. You use it in a browser. Claude Code is a command-line tool that runs in your terminal and is built specifically for software development. It can read all the files in a project, write and edit code across multiple files, run commands, and build complete applications. Claude.ai cannot do any of this.

Can I use Claude Code on Windows?

Yes. Claude Code works on Windows, Mac, and Linux. On Windows, you run it in Command Prompt, PowerShell, or Windows Terminal. The installation process is identical across all platforms. If you are on Windows and encounter issues, running PowerShell as administrator usually resolves them.

Claude Code is installed. Now build something.

Start with the vibecoding workflow to understand how to describe projects clearly, or browse pre-built skills to get your first marketing tool running today.

Start vibecodingBrowse skills