Get started with Claude's powerful AI coding assistant
Claude Coder (Claude Code) is an AI coding assistant that runs in your terminal. It acts as an "active collaborator" in coding – it can read and modify files, generate new code, run tests, and even use command-line tools on your behalf. Unlike GUI-based code assistants, Claude Coder is text-based, so we interact with it through typed commands.
Open your terminal and run the following command:
This installs Claude Coder globally on your system using npm.
You need a folder to work in. You have two options:
mkdir my-claude-project
cd my-claude-project
cd path/to/my-claude-project
Tip: On Mac, you can drag a folder from Finder into the terminal to automatically fill in its path.
Once you're in your project folder, start Claude Coder:
claude
This will:
After successful installation, you'll see the Claude Code ASCII logo and a prompt waiting for your input.
Try asking Claude Coder something simple:
Create me a website that teaches how to install Claude Coder
Claude will help you create a simple website, guiding you through the process step by step!
You've successfully installed Claude Coder and are ready to start coding with AI assistance!
/cost
to track your API usageFor more information and tutorials, check out the official documentation.