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

Squashed history of Claude CodeBrowse files
8enmann authored on Mar 10, 2025 parent bd5ca70 · commit 555b6b5b8a5f
5 changed files+71 -18compared with bd5ca70
M.devcontainer/Dockerfile
A.gitattributes
A.github/ISSUE_TEMPLATE/bug_report.md
MREADME.md
ASECURITY.md
@@ -42,9 +42,10 @@
4242
4343 WORKDIR /workspace
4444
45-RUN wget https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb && \
46- sudo dpkg -i git-delta_0.18.2_arm64.deb && \
47- rm git-delta_0.18.2_arm64.deb
45+RUN ARCH=$(dpkg --print-architecture) && \
46+ wget "https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_${ARCH}.deb" && \
47+ sudo dpkg -i "git-delta_0.18.2_${ARCH}.deb" && \
48+ rm "git-delta_0.18.2_${ARCH}.deb"
4849
4950 # Set up non-root user
5051 USER node
@@ -66,8 +67,7 @@
6667 -x
6768
6869 # Install Claude
69-# TODO(ben): Add this back in when we have a public release
70-# RUN npm install -g @anthropic-ai/claude-code
70+RUN npm install -g @anthropic-ai/claude-code
7171
7272 # Copy and set up firewall script
7373 COPY init-firewall.sh /usr/local/bin/
@@ -1,0 +1,2 @@
1+* text=auto eol=lf
2+*.sh text eol=lf
@@ -1,0 +1,34 @@
1+---
2+name: Bug report
3+about: Create a report to help us improve
4+title: '[BUG] '
5+labels: bug
6+assignees: ''
7+---
8+
9+## Environment
10+- Platform (select one):
11+ - [ ] Anthropic API
12+ - [ ] AWS Bedrock
13+ - [ ] Google Vertex AI
14+ - [ ] Other: <!-- specify -->
15+- Claude CLI version: <!-- output of `claude --version` -->
16+- Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
17+- Terminal: <!-- e.g. iTerm2, Terminal App -->
18+
19+## Bug Description
20+<!-- A clear and concise description of the bug -->
21+
22+## Steps to Reproduce
23+1. <!-- First step -->
24+2. <!-- Second step -->
25+3. <!-- And so on... -->
26+
27+## Expected Behavior
28+<!-- What you expected to happen -->
29+
30+## Actual Behavior
31+<!-- What actually happened -->
32+
33+## Additional Context
34+<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
MREADME.md+18 -13
@@ -1,7 +1,9 @@
11 # Claude Code (Research Preview)
22
3-![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat-square)
3+![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat-square) [![npm]](https://www.npmjs.com/package/@anthropic-ai/claude-code)
44
5+[npm]: https://img.shields.io/npm/v/@anthropic-ai/claude-code.svg?style=flat-square
6+
57 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.
68
79 Some of its key capabilities include:
@@ -15,19 +17,22 @@
1517
1618 ## Get started
1719
18-<ol>
19- <li>
20- Run the following command in your terminal: <br />
21- <code>npm install -g @anthropic-ai/claude-code</code>
22- </li>
23- <li>
24- Navigate to your project directory and run <code>claude</code>
25- </li>
26- <li>
27- Complete the one-time OAuth process with your Anthropic Console account.
28- </li>
29-</ol>
20+1. 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/agents-and-tools/claude-code/overview#recommended-create-a-new-user-writable-npm-prefix).
3022
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+
26+2. Install Claude Code:
27+
28+ ```sh
29+ npm install -g @anthropic-ai/claude-code
30+ ```
31+
32+3. Navigate to your project directory and run <code>claude</code>.
33+
34+4. Complete the one-time OAuth process with your Anthropic Console account.
35+
3136 ### Research Preview
3237
3338 We're launching Claude Code as a beta product in research preview to learn directly from developers about their experiences collaborating with AI agents. Our aim is to learn more about how developers prefer to collaborate with AI tools, which development workflows benefit most from working with the agent, and how we can make the agent experience more intuitive.
@@ -1,0 +1,12 @@
1+# Security Policy
2+Thank you for helping us keep Claude Code secure!
3+
4+## Reporting Security Issues
5+
6+The security of our systems and user data is Anthropic's top priority. We appreciate the work of security researchers acting in good faith in identifying and reporting potential vulnerabilities.
7+
8+Our security program is managed on HackerOne and we ask that any validated vulnerability in this functionality be reported through their [submission form](https://hackerone.com/anthropic-vdp/reports/new?type=team&report_type=vulnerability).
9+
10+## Vulnerability Disclosure Program
11+
12+Our Vulnerability Program Guidelines are defined on our [HackerOne program page](https://hackerone.com/anthropic-vdp).