常用npm命令整理
#### **1. 指定版本全局升级(最常用)** **替换为你想要的版本号,例如 2.1.220** `npm install -g @anthropic-ai/claude-code@2.1.232` 国内镜像加速: `npm install -g @anthropic-ai/claude-code@2.1.220 --registry=https://registry.npmmirr
#### **1. 指定版本全局升级(最常用)** **替换为你想要的版本号,例如 2.1.220** `npm install -g @anthropic-ai/claude-code@2.1.232` 国内镜像加速: `npm install -g @anthropic-ai/claude-code@2.1.220 --registry=https://registry.npmmirr