Getting Started with Claude Code (CLI)
Harry
· 13 Sep 2026
· 4 views
What Is Claude Code
Claude Code is Anthropic's command-line coding agent. You run it inside a project folder and it reads your files, edits code, runs commands and tests, all from the terminal.
Installing Claude Code
npm install -g @anthropic-ai/claude-code
# or run it without a full install
npx @anthropic-ai/claude-codeYour First Session
cd my-project
claudeDescribe the task in plain language, for example "add input validation to the signup form". Claude Code inspects the repository, makes focused edits and shows you a diff to approve.
Core Capabilities
- Edit files - Apply code changes with review.
- Run commands - Execute builds and tests in the project.
- Search and read - Grep and open files to understand the codebase.
- Skills and helpers - Load reusable instructions on demand.
- Slash commands - Use built-in prompts like /init and /install.
Key Points
- Claude Code works inside an existing project folder.
- Install globally with npm, or run via npx.
- It edits, runs, searches and tests as part of one workflow.
- Review diffs before accepting changes.