chore:文档补全
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# IGr9wUHPUi6dMwkE1s6cVKPfnGe
|
||||
|
||||
Source: https://dianchukeji.feishu.cn/wiki/IGr9wUHPUi6dMwkE1s6cVKPfnGe
|
||||
|
||||
|
||||
# 1 下载并安装AWS CLI
|
||||
https://awscli.amazonaws.com/AWSCLIV2.msi
|
||||
# 2 配置aws configure
|
||||
在命令行中输入:aws configure
|
||||
按提示依次输入 AK、SK、区域(us-east-1)、输出格式(回车跳过)。
|
||||
如下:
|
||||
- AWS Access Key ID:你的 AK
|
||||
- AWS Secret Access Key:你的 SK
|
||||
- Default region name:us-east-1
|
||||
- Default output format:直接回车
|
||||
|
||||
> :chestnut:
|
||||
这里的ak和sk,指的是AWS那边配发的Access Key和Secret Access Key,需要向IT同学申请
|
||||
# 3 Claude Code 配置
|
||||
## 3.1 打开claude的配置文件:
|
||||

|
||||
## 3.2 在配置文件中写入:以下内容
|
||||
{
|
||||
"env": {
|
||||
"CLAUDE_CODE_USE_BEDROCK": "1",
|
||||
"AWS_REGION": "us-east-1",
|
||||
"ANTHROPIC_MODEL": "us.anthropic.claude-opus-4-6-v1",
|
||||
"ANTHROPIC_SMALL_FAST_MODEL": "us.anthropic.claude-haiku-4-5-20251001-v1:0",
|
||||
"HTTP_PROXY": "http://127.0.0.1:1080",
|
||||
"HTTPS_PROXY": "http://127.0.0.1:1080"
|
||||
},
|
||||
"skipDangerousModePermissionPrompt": true,
|
||||
"includeCoAuthoredBy": false
|
||||
}
|
||||
|
||||
> :trophy:
|
||||
这里的http_proxy主要是为了配置代理网络,如果不写上这2行的话,会被Claude禁止使用api
|
||||
Reference in New Issue
Block a user