vault backup: 2026-04-29 11:01:45

This commit is contained in:
cyy_compute
2026-04-29 11:01:45 +08:00
parent 76d690f3e7
commit eadb2847e2
4 changed files with 45 additions and 2 deletions

View File

@@ -129,4 +129,41 @@ claude
## 关于claude code联网
在.clude.json中加入
"skipWebFetchPreflight": true
"skipWebFetchPreflight": true
# 通过npm安装
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
```
which node
which npm
node -v
npm -v
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install 20
nvm use 20
nvm alias default 20
node -v
npm -v
which node
which npm
npm install -g @anthropic-ai/claude-code
claude --version
```
nvm install 20/
nvm use 20/
nvm alias default 20
npm install -g @anthropic-ai/claude-code