← 全部工具

claude-code

热度 65 更新于 开发与构建

Pointer to the official Claude Code package at @anthropic-ai/claude-code

npmauto-collected

安装

npm
npm install -g claude-code

通过 npm 安装。

Claude Code

[![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. Use it in your terminal, IDE, or tag @claude on Github.

Learn more in the official documentation.

<img src="./demo.gif" /

Get started

[!NOTE] Installation via npm is deprecated. Use one of the recommended methods below.

For more installation options, uninstall steps, and troubleshooting, see the setup documentation.

  • Install Claude Code:

MacOS/Linux (Recommended):

    curl -fsSL https://claude.ai/install.sh | bash

Homebrew (MacOS/Linux):

    brew install --cask claude-code

Windows (Recommended):

    irm https://claude.ai/install.ps1 | iex

WinGet (Windows):

    winget install Anthropic.ClaudeCode