File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Claude Code安装
2+
3+ [ Claude Code github] ( https://github.com/anthropics/claude-code )
4+
5+ [ Claude Code官方文档] ( https://code.claude.com/docs/zh-CN/overview )
6+
7+
8+
9+
10+
11+ ## 安装
12+
13+ import Tabs from '@theme/Tabs ';
14+ import TabItem from '@theme/TabItem ';
15+
16+ <Tabs >
17+ <TabItem value =" 脚本 " label =" 脚本 " default >
18+
19+ ``` shell
20+ curl -fsSL https://claude.ai/install.sh | bash
21+ ```
22+
23+ </TabItem >
24+ <TabItem value =" npm " label =" npm " >
25+
26+ ``` shell
27+ npm install -g @anthropic-ai/claude-code
28+ ```
29+
30+ </TabItem >
31+ </Tabs >
32+
33+
34+
35+ ## 启动
36+
37+ 终端中执行 ` claude `
38+
39+ ``` shell
40+ claude
41+ ```
42+
43+
44+
45+ 选择文本配色方案
46+
47+ ![ iShot_2026-03-16_17.02.43] ( https://raw.githubusercontent.com/pptfz/piclist-images/master/img/iShot_2026-03-16_17.02.43.png )
48+
49+
50+
51+
52+
53+ 选择登陆方式
54+
55+ ![ iShot_2026-03-16_17.04.48] ( https://raw.githubusercontent.com/pptfz/piclist-images/master/img/iShot_2026-03-16_17.04.48.png )
56+
57+
58+
59+
60+
Original file line number Diff line number Diff line change 1+ # Claude Code接入模型
2+
3+ [ Claude Code接入阿里云百炼] ( https://bailian.console.aliyun.com/cn-beijing/?tab=doc#/doc/?type=model&url=3023078 )
4+
5+
6+
7+ ## 阿里云百炼
8+
9+ ### 在Claude Code配置Coding Plan
10+
11+ :::tip 说明
12+
13+ 在 Claude Code 中接入百炼 Coding Plan,需要配置以下信息:
14+
15+ - ` ANTHROPIC_BASE_URL ` :设置为 ` https://coding.dashscope.aliyuncs.com/apps/anthropic ` 。
16+
17+ - ` ANTHROPIC_AUTH_TOKEN ` :设置为Coding Plan专属 [ API Key] ( https://bailian.console.aliyun.com/cn-beijing/?tab=model#/efm/coding_plan ) 。
18+
19+ - ` ANTHROPIC_MODEL ` :设置为 Coding Plan [ 支持的模型] ( https://help.aliyun.com/zh/model-studio/coding-plan ) 。
20+
21+ :::
22+
23+
24+
25+ 编辑文件 ` ~/.claude/settings.json ` ,写入以下内容,替换为 Coding Plan 专属 [ API Key] ( https://bailian.console.aliyun.com/cn-beijing/?tab=model#/efm/coding_plan )
26+
27+ ``` json
28+ {
29+ "env" : {
30+ "ANTHROPIC_AUTH_TOKEN" : " YOUR_API_KEY" ,
31+ "ANTHROPIC_BASE_URL" : " https://coding.dashscope.aliyuncs.com/apps/anthropic" ,
32+ "ANTHROPIC_MODEL" : " qwen3.5-plus"
33+ }
34+ }
35+ ```
36+
37+
38+
39+ 编辑文件 ` ~/.claude.json ` ,将` hasCompletedOnboarding ` 字段的值设置为 ` true ` 并保存文件。该步骤可避免启动Claude Code时报错:` Unable to connect to Anthropic services ` 。
40+
41+ ``` json
42+ {
43+ "hasCompletedOnboarding" : true
44+ }
45+ ```
46+
47+
48+
49+ ### 使用Claude Code
50+
51+ 进入项目所在目录,然后执行 ` claude `
52+
53+ ![ iShot_2026-03-16_17.37.05] ( https://raw.githubusercontent.com/pptfz/piclist-images/master/img/iShot_2026-03-16_17.37.05.png )
54+
55+
56+
57+ 输入 ` /status ` 确认模型、` Base URL ` 、` API Key ` 是否配置正确
58+
59+ ![ iShot_2026-03-16_18.45.15] ( https://raw.githubusercontent.com/pptfz/piclist-images/master/img/iShot_2026-03-16_18.45.15.png )
60+
61+
62+
63+ 在 Claude Code 中对话
64+
65+ ![ iShot_2026-03-16_18.47.13] ( https://raw.githubusercontent.com/pptfz/piclist-images/master/img/iShot_2026-03-16_18.47.13.png )
66+
67+
68+
69+
70+
71+
72+
Original file line number Diff line number Diff line change 1+ ---
2+ title : openclaw
3+ id : openclaw
4+ slug : /openclaw
5+ ---
6+
7+ # 😂 😂 😂
8+
9+ ![ readme] ( https://raw.githubusercontent.com/pptfz/picgo-images/master/img/readme.gif )
10+
11+
12+
13+ ![ linuxrm] ( https://raw.githubusercontent.com/pptfz/picgo-images/master/img/linuxrm.gif )
Original file line number Diff line number Diff line change 1+ ---
2+ title : windows专区
3+ id : windows专区
4+ slug : /windows专区
5+ ---
6+
7+ # 🙁 ➕ 🍺 🟰 😁
8+
9+ ![ readme] ( https://raw.githubusercontent.com/pptfz/picgo-images/master/img/readme.gif )
10+
11+
12+
13+ ![ linuxrm] ( https://raw.githubusercontent.com/pptfz/picgo-images/master/img/linuxrm.gif )
You can’t perform that action at this time.
0 commit comments