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
- Add note that npm installation is deprecated - Add link to setup documentation - Add WinGet installation option for Windows - Update Homebrew to indicate MacOS/Linux support - Mark recommended installation methods - Improve formatting with proper indentation
| @@ -11,30 +11,37 @@ | ||
| 11 | 11 | <img src="./demo.gif" /> |
| 12 | 12 | |
| 13 | 13 | ## Get started |
| 14 | +> [!NOTE] | |
| 15 | +> Installation via npm is deprecated. Use one of the recommended methods below. | |
| 14 | 16 | |
| 17 | +For more installation options, uninstall steps, and troubleshooting, see the [setup documentation](https://code.claude.com/docs/en/setup). | |
| 18 | + | |
| 15 | 19 | 1. Install Claude Code: |
| 16 | 20 | |
| 17 | -**MacOS/Linux:** | |
| 18 | -```bash | |
| 19 | -curl -fsSL https://claude.ai/install.sh | bash | |
| 20 | -``` | |
| 21 | + **MacOS/Linux (Recommended):** | |
| 22 | + ```bash | |
| 23 | + curl -fsSL https://claude.ai/install.sh | bash | |
| 24 | + ``` | |
| 21 | 25 | |
| 22 | -**Homebrew (MacOS):** | |
| 23 | -```bash | |
| 24 | -brew install --cask claude-code | |
| 25 | -``` | |
| 26 | + **Homebrew (MacOS/Linux):** | |
| 27 | + ```bash | |
| 28 | + brew install --cask claude-code | |
| 29 | + ``` | |
| 26 | 30 | |
| 27 | -**Windows:** | |
| 28 | -```powershell | |
| 29 | -irm https://claude.ai/install.ps1 | iex | |
| 30 | -``` | |
| 31 | + **Windows (Recommended):** | |
| 32 | + ```powershell | |
| 33 | + irm https://claude.ai/install.ps1 | iex | |
| 34 | + ``` | |
| 31 | 35 | |
| 32 | -**NPM:** | |
| 33 | -```bash | |
| 34 | -npm install -g @anthropic-ai/claude-code | |
| 35 | -``` | |
| 36 | + **WinGet (Windows):** | |
| 37 | + ```powershell | |
| 38 | + winget install Anthropic.ClaudeCode | |
| 39 | + ``` | |
| 36 | 40 | |
| 37 | -NOTE: If installing with NPM, you also need to install [Node.js 18+](https://nodejs.org/en/download/) | |
| 41 | + **NPM (Deprecated):** | |
| 42 | + ```bash | |
| 43 | + npm install -g @anthropic-ai/claude-code | |
| 44 | + ``` | |
| 38 | 45 | |
| 39 | 46 | 2. Navigate to your project directory and run `claude`. |
| 40 | 47 |