Claude Code尝鲜
2025年6月27日
1 分钟
01 Summary
要求node18以上
安装node18
https://nodejs.org/en/download/ # Download and install nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash # in lieu of restarting the shell \. "$HOME/.nvm/nvm.sh" # Download and install Node.js: nvm install 18 # Verify the Node.js version: node -v # Should print "v18.20.8". nvm current # Should print "v18.20.8". # Verify npm version: npm -v # Should print "10.8.2".
安装Claude Code
npm install -g https://gaccode.com/claudecode/install --registry=https://registry.npmmirror.com
-g 标志将 Claude Code 全局安装,使其可从任何目录使用。
检查是否安装成功
claude --version
开始使用
# 导航到您的项目 cd your-project-folder # 启动 Claude Code claude
评论 (0)
暂无评论,来发表第一条评论吧!