What Is Claude Code? Terminal Setup and Usage Guide (2026)

Short answer
Claude Code is Anthropic's AI-powered software development tool that runs in the terminal. Unlike a chat interface, it can read and change your project files and run commands. The recommended setup is a one-line native install. It works with a Pro, Max, Ultra, Team, Enterprise, or Console account, and it isn't included in the free plan.
What is Claude Code? Claude Code is an AI-powered software development tool built by Anthropic that runs directly in your terminal (command line). Unlike classic chat interfaces, it can read your project files, create new ones, run commands, and apply changes with your approval. That is why it is called an "agentic" tool: you describe what you want, and it carries out the necessary steps itself. I updated this guide in November 2026 to match the official setup documentation.
What does Claude Code do?
In the traditional workflow, a developer writes code line by line. Claude Code instead acts like a pair programmer. When you say "add a contact form to this project," it finds the relevant files, writes the code, fixes any errors, and shows you the result. All of it happens inside the terminal, in a single conversation.
This approach is especially powerful for people who don't know how to code or are just learning. It is the idea at the heart of vibe coding: building applications by describing what you want in natural language instead of wrestling with technical details.
How do you install Claude Code in the terminal?
According to Anthropic's official setup documentation, the recommended path is the native install. It doesn't need Node.js, and it updates itself automatically in the background. Here are the steps:
- Open a terminal: Terminal on a Mac, PowerShell or CMD on Windows, or your usual terminal on Linux.
- Run the install command:
curl -fsSL https://claude.ai/install.sh | bashon macOS, Linux, and WSL,irm https://claude.ai/install.ps1 | iexin Windows PowerShell, orcurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmdin Windows CMD. - Verify the install: Open a new terminal window and type
claude --version. If you see a version number, you are set. - Start the tool and sign in: Go into your project folder and type
claude. On first launch, you sign in with your Claude account in the browser.
Here is how the install methods compare:
| Method | Command | Updates and notes |
|---|---|---|
| Native install (recommended) | curl -fsSL https://claude.ai/install.sh | bash | Automatic, in the background |
| Homebrew (Mac) | brew install --cask claude-code | Manual, with brew upgrade claude-code |
| WinGet (Windows) | winget install Anthropic.ClaudeCode | Manual, with winget upgrade Anthropic.ClaudeCode |
| npm | npm install -g @anthropic-ai/claude-code@latest | Requires Node.js 22 or later. Don't use sudo. |
If something goes wrong, claude doctor shows the state of your install and settings. To update manually, run claude update.
Which plans can you use Claude Code with?
Claude Code requires a Pro, Max, Ultra, Team, Enterprise, or Console (API) account. The free Claude plan doesn't include Claude Code. I cover what each plan includes today, along with its usage limits, in my Claude pricing guide.
Does Claude Code only run in the terminal?
No. The terminal is still the most common way to use it, but Claude Code also has a desktop app (Mac, Windows, and Linux), a browser version, a VS Code extension, and a JetBrains plugin. If you would rather not see a terminal, the desktop app does the same work through a graphical interface.
What can you build with Claude Code?
Claude Code is not limited to writing code. In daily use, it shines at:
- Building websites and apps from scratch: you describe your idea, and it builds pages and features step by step.
- Finding and fixing bugs: paste the error message, and it locates the file, diagnoses the problem, and fixes it.
- Understanding an existing project: ask "what does this code do?" on a project you inherited, and it reads the files and summarizes them.
- Automating repetitive work: it handles file edits, bulk renaming, and data conversion with a single instruction.
- Writing and running tests: it writes the tests, runs them, and fixes the failing ones.
- Turning designs into code: the
/designcommand imports a design made with Claude Design into your codebase.
What are the advantages of working with AI in the terminal?
Compared to browser-based AI tools, working in the terminal has concrete benefits:
- Access to real files: No copy and paste needed. Claude Code sees your whole project and works on it directly.
- Running commands: it can run tests, install packages, or start the server on its own.
- Context awareness: even in large projects, it understands how files relate to each other and suggests consistent changes.
The word "terminal" sounds intimidating to beginners, but here it becomes an advantage. The AI takes on the complex work. All you do is state what you want in plain language.
What is the difference between Claude Code and GitHub Copilot?
GitHub Copilot mostly autocompletes code inside your editor, while Claude Code takes on an entire task from start to finish as an agent. They aren't mutually exclusive, and many developers use both. For a broader comparison, see the AI coding tools comparison.
Where should you start learning Claude Code?
The most effective way is to practice on a real project. Start with a simple web page or a small app idea and describe each step to the AI. If you want to work on your own project with guidance, we set up your Claude Code workflow together in individual AI training. For teams, the corporate AI training page shows how I bring a whole team onto the same way of working.
Frequently Asked Questions
What does Claude Code do?
Claude Code lets you build software by talking in natural language in your terminal. It builds websites and apps, finds and fixes bugs, explains existing code, writes tests, and automates repetitive file work, step by step on your behalf.
How do I install Claude Code in the terminal?
The recommended path is the native install. Run curl -fsSL https://claude.ai/install.sh | bash on macOS, Linux, and WSL, or irm https://claude.ai/install.ps1 | iex in Windows PowerShell. Windows CMD has its own command in the official docs. Then type claude in your project folder and sign in with your Claude account. This method doesn't need Node.js.
Is Claude Code free?
No. The free Claude plan doesn't include Claude Code. It works with a Pro, Max, Ultra, Team, or Enterprise plan, or with a pay-as-you-go Console (API) account.
Do I need to know how to code to use Claude Code?
No. You describe what you want in natural language, and Claude Code writes the code. As you learn to read code, you will use the tool far more effectively.
Which operating systems does Claude Code run on?
According to the official documentation, it runs on macOS 13 or later, Windows 10 1809 or later, Ubuntu 20.04 or later, Debian 10 or later, and Alpine Linux 3.19 or later. It needs at least 4 GB of RAM and an internet connection.
What is the difference between Claude Code and GitHub Copilot?
GitHub Copilot helps by autocompleting lines inside your code editor. Claude Code takes on an entire task from start to finish as an agent: it reads files, writes code, runs commands, and verifies the result.
Want to learn to do this with AI?
In individual training sessions, live on your own project, and in corporate training for teams, I teach step by step how to do everything covered in this article with AI. Write in and I will get back to you the same day.
Message on WhatsApp See individual training Corporate AI training for your team
Sefa Aydın · AI Trainer & Consultant
An AI trainer and consultant who has worked on the Turkey projects of world-famous luxury brands. He teaches, hands-on, how every kind of work is done with AI: design, video, branding and vibe coding.
About Sefa Aydın → LinkedIn ↗