|
|
选项如下:
- ? How would you like to authenticate?
- ❯ API Key (recommended for API users)
- Use environment variable: ANTHROPIC_API_KEY
- Most flexible and secure
- Claude App Login (for Pro/Max subscribers)
- Login via browser
- Uses your subscription quota
- Manual Entry
- Enter API key now
- Stored in config file
复制代码
访问的白名单限制:
- {
- "allowedTools": [
- "Read",
- "Grep",
- "Glob",
- "Bash(npm test)",
- "Bash(git status)"
- ]
- }
复制代码
注意!claude安装从2026年起有地域限制!如果已经安装不要使用claude install命令再次安装!防止触发限制。
|
|