# Claude Code Installation ## Prerequisites - [[Node.js]] - [[Git]] - [[GitHub]] or [[GitLab]] CLI for PR workflows (optional) - `ripgrep`: https://github.com/BurntSushi/ripgrep?tab=readme-ov-file#installation - Debian: `sudo apt install ripgrep` ## Install ````sh npm install -g @anthropic-ai/claude-code ```` After installing: - Go to your project folder - Run `claude` - Run `/init` to create a `CLAUDE.md` file with codebase documentation ## Native Windows - Claude Code supports native Windows (no WSL required) since mid-2025 - Install via `npm install -g @anthropic-ai/claude-code` in a standard Windows terminal (PowerShell, cmd, or Windows Terminal) ## WSL - To fix OS detection issues: `npm config set os linux` then install using `npm install -g @anthropic-ai/claude-code --force --no-os-check` (without using `sudo`) ## Updating Claude Code has an auto update feature. Manual update: `claude update`. ## References - Documentation: https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview ## Related - [[Claude Code]] - [[Claude Code Configuration]]