Compare commits

..

16 Commits

Author SHA1 Message Date
Ben Mann 885ff0ab71 Merge pull request #171 from Eingin/main
fix: update the npm badge link in the Readme to the correct package
2025-03-02 22:19:40 -08:00
Sid Bidasaria 641f7272db Merge pull request #205 from emcd/main
fix: README: Encourage users to install package as a non-administrative user for the sake of system security and stability.
2025-02-28 12:43:49 -08:00
Eric McDonald 42bca11ef0 README: Address review comments. 2025-02-28 05:15:32 -08:00
Eric McDonald a3da4902a1 fix: README: Encourage users to install package as a non-administrative user for the sake of system security and stability. 2025-02-27 10:53:03 -08:00
Antonio Iaccarino 72f16273f9 fix: update the npm badge link to the correct package name 2025-02-27 17:45:01 +11:00
Ben Mann f0f77d9f9d Merge pull request #91 from EmilLindfors/win11
Fix Docker build issues on Windows and non-ARM architectures
2025-02-26 16:19:37 -08:00
Boris Cherny bcbf1fe358 Merge pull request #157 from anthropics/bcherny-patch-2
Add NPM version badge
2025-02-26 14:26:08 -08:00
Boris Cherny 91c8d1c7dd Update README.md 2025-02-26 14:03:29 -08:00
Emil Lindfors ba8820fde8 Fix Docker build issues on Windows and non-ARM architectures 2025-02-25 20:39:51 +01:00
Boris Cherny 7254f5b735 Merge pull request #50 from joeblau/patch-1
Update README.md
2025-02-24 17:44:42 -08:00
Joe Blau 19571f7a59 Update README.md
Update readme to make command easy to copy.
2025-02-24 16:51:26 -08:00
Boris Cherny 8828265deb Merge pull request #23 from eastlondoner/patch-1
public release has happened :-D
2025-02-24 13:44:26 -08:00
Andrew Jefferson 0cc28dba44 public release 2025-02-24 21:58:13 +01:00
Boris Cherny 1fc1f3559d Merge pull request #1 from anthropics/bcherny-patch-1
Create SECURITY.md
2025-02-24 10:18:36 -08:00
Boris Cherny ebc4a113bc Create SECURITY.md 2025-02-24 10:17:54 -08:00
Boris Cherny c19ab34af3 Claude Code 2025-02-22 09:29:29 -08:00
3 changed files with 25 additions and 18 deletions
+5 -5
View File
@@ -42,9 +42,10 @@ RUN mkdir -p /workspace /home/node/.claude && \
WORKDIR /workspace
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
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"
# Set up non-root user
USER node
@@ -66,8 +67,7 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
-x
# Install Claude
# TODO(ben): Add this back in when we have a public release
# RUN npm install -g @anthropic-ai/claude-code
RUN npm install -g @anthropic-ai/claude-code
# Copy and set up firewall script
COPY init-firewall.sh /usr/local/bin/
+2
View File
@@ -0,0 +1,2 @@
* text=auto eol=lf
*.sh text eol=lf
+18 -13
View File
@@ -1,6 +1,8 @@
# Claude Code (Research Preview)
![](https://img.shields.io/badge/Node.js-18%2B-brightgreen?style=flat-square)
![](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
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.
@@ -15,18 +17,21 @@ Some of its key capabilities include:
## Get started
<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>
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.
### Research Preview