cluade code是一个命令行工具而非那种图形gui工具,和我之前以为的不一样。Claude Code: Deep coding at terminal velocity \ Anthropic
安装node18+Node.js 18+,
然后执行npm install -g @anthropic-ai/claude-code
然后输入claude 即可,如果出现网络问题,则需要科学,然后设置环境变量:
cmd
set http_proxy=http://127.0.0.1:7897
set https_proxy=http://127.0.0.1:7897
powershell
$env:HTTP_PROXY="http://127.0.0.1:7897"; $env:HTTPS_PROXY="http://127.0.0.1:7897"
bash
export https_proxy=http://127.0.0.1:7897 http_proxy=http://127.0.0.1:7897 all_proxy=socks5://127.0.0.1:7897

image.png
随意选择样式
之后会选择用什么方式登录,选择后自动跳转浏览器授权
api的方式就算了,这个还需要搞定credits

image.png
所以选择第一个然后到了这里

image.png

image.png
实测开发一个助眠 白噪音的网站,方便各位在噪音环境下带耳机睡觉。
目录有问题,我换个目录重新输入。
ok,提问

image.png
他写了一分钟
这个英文就不翻译了,直接yes 创建 如下图的

image.png
然后我直接用vscode 或者jetbrain 的全家桶打开上面配置的目录, jetbrain的能记录本地历史记录,理论上我更推荐这个能自动记录本地历史的开发工具。
不然写入变更要自己手动提交git

image.png

image.png

image.png

image.png
最后我的助眠网站弄好了,各位睡不着打开这个 戴上那种睡觉的很软的耳机就行