spacehub

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

claude-code / README.md
54 lines · 3.0 KBPreviewCodeRaw
1# Claude Code
2
3![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat-square) [![npm]](https://www.npmjs.com/package/@anthropic-ai/claude-code)
4
5[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square
6
7Claude 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.
8
9Some of its key capabilities include:
10
11- Edit files and fix bugs across your codebase
12- Answer questions about your code's architecture and logic
13- Execute and fix tests, lint, and other commands
14- Search through git history, resolve merge conflicts, and create commits and PRs
15
16**Learn more in the [official documentation](https://docs.anthropic.com/en/docs/claude-code/overview)**.
17
18## Get started
19
201. 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.
21 Instructions on how to do this can be found [here](https://docs.anthropic.com/en/docs/claude-code/troubleshooting#recommended-solution-create-a-user-writable-npm-prefix).
22
23 _Important_ We recommend installing this package as a non-privileged user, not as an administrative user like `root`.
24 Installing as a non-privileged user helps maintain your system's security and stability.
25
262. Install Claude Code:
27
28 ```sh
29 npm install -g @anthropic-ai/claude-code
30 ```
31
323. Navigate to your project directory and run `claude`.
33
344. Complete the one-time OAuth process with your Claude Max or Anthropic Console account.
35
36### Reporting Bugs
37
38We welcome feedback during this beta period. Use the `/bug` command to report issues directly within Claude Code, or file a [GitHub issue](https://github.com/anthropics/claude-code/issues).
39
40### Data collection, usage, and retention
41
42When 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.
43
44#### How we use your data
45
46We 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.
47
48If 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).
49
50### Privacy safeguards
51
52We 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.
53
54For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) and [Privacy Policy](https://www.anthropic.com/legal/privacy).