Install, authenticate, and start using Claude Code on your development machine.
sudo npm install -g
as this can lead to permission issues and security risks.
If you encounter permission errors, see configure Claude Code for recommended solutions.claude doctor
after installation to check your installation type.bash.exe
:
claude doctor
after installation to check your installation type and version.claude install
to start the native binary installation.
For a fresh install, run the following command:
macOS, Linux, WSL:
libgcc
, libstdc++
, and ripgrep
. Install (Alpine: apk add libgcc libstdc++ ripgrep
) and set USE_BUILTIN_RIPGREP=0
.claude doctor
to verify the installation.claude migrate-installer
to move to localDISABLE_AUTOUPDATER
environment variable in your shell or settings.json file: