Claude Code: Anthropic's CLI Agent
Claude Code is an AI coding agent for your terminal โ installable with one command.
What is Claude Code?
Claude Code is Anthropic's AI agent for the command line (terminal). Instead of chatting in a web UI, you work directly inside your project folder: Claude Code can read files, write code, run commands, use Git, and run tests โ all in the context of your real project.
Installation
With Node.js installed:
npm install -g @anthropic-ai/claude-code
Then start it by running claude inside your project folder.
First steps
- Open a terminal, navigate to your project folder
- Type
claudeto start - Describe a task in plain language, e.g. "Add a dark-mode toggle to the navbar"
- Claude Code reads the relevant files and proposes or makes the changes
- Review the changes (look at the diff), approve or adjust
Why the terminal instead of a chat window?
Because your actual project lives in the terminal: Git, build tools, tests, the file system. An agent working directly there can really run and verify things โ not just suggest code snippets you have to copy-paste yourself.
Safety
By default, Claude Code asks for your confirmation before risky actions (like deleting files or running commands).
EXAMPLE
claude "Explain the structure of this project and suggest where I should add a new API endpoint."
QUICK QUIZ
How do you install Claude Code?
SOURCES
- Anthropic docs: Claude Code overview โ docs.anthropic.com
- GitHub: anthropics/claude-code โ github.com
- npm: @anthropic-ai/claude-code โ www.npmjs.com