surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| .devcontainer | Squashed history of Claude Code | on Mar 10, 2025 |
| .github | pinned GitHub Actions | on May 25, 2025 |
| .vscode | Claude Code | on Feb 22, 2025 |
| .gitattributes | Squashed history of Claude Code | on Mar 10, 2025 |
| CHANGELOG.md | chore: Update CHANGELOG.md | on May 22, 2025 |
| LICENSE.md | Merge pull request #1227 from anthropics/boris/uiyw | on May 22, 2025 |
| README.md | Merge pull request #1228 from anthropics/boris/pcdv | on May 22, 2025 |
| SECURITY.md | Squashed history of Claude Code | on Mar 10, 2025 |
Claude Code
image [![npm]](https://www.npmjs.com/package/@anthropic-ai/claude-code)
[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Some of its key capabilities include:
- Edit files and fix bugs across your codebase
- Answer questions about your code's architecture and logic
- Execute and fix tests, lint, and other commands
- Search through git history, resolve merge conflicts, and create commits and PRs
Learn more in the official documentation.
Get started
- If you are new to Node.js and Node Package Manager (
npm), then it is recommended that you configure an NPM prefix for your user. Instructions on how to do this can be found here.
Important We recommend installing this package as a non-privileged user, not as an administrative user like root. Installing as a non-privileged user helps maintain your system's security and stability.
- Install Claude Code:
npm install -g @anthropic-ai/claude-code
- Navigate to your project directory and run
claude.
- Complete the one-time OAuth process with your Claude Max or Anthropic Console account.
Reporting Bugs
We welcome feedback during this beta period. Use the /bug command to report issues directly within Claude Code, or file a GitHub issue.
Data collection, usage, and retention
When you use Claude Code, we collect feedback, which includes usage data (such as code acceptance or rejections), associated conversation data, and user feedback submitted via the /bug command.
How we use your data
We may use feedback to improve our products and services, but we will not train generative models using your feedback from Claude Code. Given their potentially sensitive nature, we store user feedback transcripts for only 30 days.
If you choose to send us feedback about Claude Code, such as transcripts of your usage, Anthropic may use that feedback to debug related issues and improve Claude Code's functionality (e.g., to reduce the risk of similar bugs occurring in the future).
Privacy safeguards
We have implemented several safeguards to protect your data, including limited retention periods for sensitive information, restricted access to user session data, and clear policies against using feedback for model training.
For full details, please review our Commercial Terms of Service and Privacy Policy.