创建软件安装目录
mkdir ~/opt
wget https://nodejs.org/dist/v24.14.1/node-v24.14.1-linux-x64.tar.xz
tar -xvf node-v24.14.1-linux-x64.tar.xz -C ~/opt
mv ~/opt/node-v24.14.1-linux-x64 ~/opt/nodejs
npm config set registry http://registry.npmmirror.com --global
npx nrm use taobao
npm install -g npm
yarn
npm install yarn -g
yarn config set registry https://registry.npmmirror.com
pnpm
npm install pnpm -g
pnpm config set registry https://registry.npmmirror.com
sudo apt -y install git
github地址: https://github.com/farion1231/cc-switch/ 下载页面: https://github.com/farion1231/cc-switch/releases
sudo apt -y install libayatana-indicator3-7 libdbusmenu-glib4 libdbusmenu-gtk3-4 sudo apt -y install libayatana-appindicator3-1
sudo dpkg -i CC-Switch-v3.13.0-Linux-x86_64.deb
npm install -g @anthropic-ai/claude-code
**加速下载 (可选):**如果网络下载缓慢,可使用国内镜像源,例如淘宝镜像:
npm install -g @anthropic-ai/claude-code --registry=https://registry.npmmirror.com
mkdir ~/claude-code
进入工作目录
cd ~/claude-code
启动claude
claude
下载页面: https://code.visualstudio.com/Download
sudo dpkg -i code_1.115.0-1775600353_amd64.deb
在插件市场搜索 claude并安装
No replies yet
Featured Collection
Popular Ranking
Popular Events
准备
nodejs
下载nodejs
解压到指定目录
修改nodejs安装目录名称
配置国内镜像源
npx 工具却换为淘宝源
升级npm
全局安装以下工具并配置国内镜像源
git
cc-switch
github地址: https://github.com/farion1231/cc-switch/
下载页面: https://github.com/farion1231/cc-switch/releases
启动 cc-switch
选择大模型
输入 API-KEY
claude
安装
创建工作目录
启动 claude
进入工作目录
启动claude
vscode
下载安装
下载页面: https://code.visualstudio.com/Download
配置插件
启动插件