Compare commits

..

2 Commits

Author SHA1 Message Date
Boris Cherny 429d03e382 Create SECURITY.md 2025-02-24 10:17:54 -08:00
Boris Cherny bd5ca708ad Claude Code 2025-02-22 09:29:29 -08:00
3 changed files with 18 additions and 25 deletions
+5 -5
View File
@@ -42,10 +42,9 @@ RUN mkdir -p /workspace /home/node/.claude && \
WORKDIR /workspace
RUN ARCH=$(dpkg --print-architecture) && \
wget "https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_${ARCH}.deb" && \
sudo dpkg -i "git-delta_0.18.2_${ARCH}.deb" && \
rm "git-delta_0.18.2_${ARCH}.deb"
RUN wget https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_arm64.deb && \
sudo dpkg -i git-delta_0.18.2_arm64.deb && \
rm git-delta_0.18.2_arm64.deb
# Set up non-root user
USER node
@@ -67,7 +66,8 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
-x
# Install Claude
RUN npm install -g @anthropic-ai/claude-code
# TODO(ben): Add this back in when we have a public release
# RUN npm install -g @anthropic-ai/claude-code
# Copy and set up firewall script
COPY init-firewall.sh /usr/local/bin/
-2
View File
@@ -1,2 +0,0 @@
* text=auto eol=lf
*.sh text eol=lf
+13 -18
View File
@@ -1,8 +1,6 @@
# Claude Code (Research Preview)
![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat-square) [![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
![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?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.
@@ -17,21 +15,18 @@ Some of its key capabilities include:
## Get started
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.
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).
*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.
2. Install Claude Code:
```sh
npm install -g @anthropic-ai/claude-code
```
3. Navigate to your project directory and run <code>claude</code>.
4. Complete the one-time OAuth process with your Anthropic Console account.
<ol>
<li>
Run the following command in your terminal: <br />
<code>npm install -g @anthropic-ai/claude-code</code>
</li>
<li>
Navigate to your project directory and run <code>claude</code>
</li>
<li>
Complete the one-time OAuth process with your Anthropic Console account.
</li>
</ol>
### Research Preview