Skip to content

Commit b01bfd8

Browse files
author
张文超
committed
fix:增加Claude code安装方式
1 parent 3100863 commit b01bfd8

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ Claude Code Proxy SSY 是一个命令行工具,可以将Claude API转换为胜
1313

1414
## 📦 安装
1515

16+
### 使用前提(安装Claude Code)
17+
18+
```shell
19+
npm install -g @anthropic-ai/claude-code
20+
```
21+
22+
国内安装
23+
```shell
24+
npm config set registry https://registry.npmmirror.com
25+
npm install -g @anthropic-ai/claude-code
26+
```
27+
28+
1629
### 方式一: 快速安装(推荐)
1730

1831
**Linux/macOS:**
@@ -26,15 +39,6 @@ sudo curl -o /usr/local/bin/claudeproxy -L https://shengsuanyun.oss-cn-shanghai.
2639
sudo chmod +x /usr/local/bin/claudeproxy
2740
```
2841

29-
**Windows (PowerShell):**
30-
```powershell
31-
Invoke-WebRequest -Uri "https://github.com/SSYCloud/claude-code-proxy-ssy/releases/latest/download/claudeproxy_Windows_x86_64.exe" -OutFile "claudeproxy.exe"
32-
```
33-
国内安装方式
34-
```powershell
35-
Invoke-WebRequest -Uri "https://shengsuanyun.oss-cn-shanghai.aliyuncs.com/claude-code-proxy-ssy/claudeproxy_Windows_x86_64.exe" -OutFile "claudeproxy.exe"
36-
```
37-
3842
### 方式二: 手动下载
3943

4044
1.[Releases](https://github.com/SSYCloud/claude-code-proxy-ssy/releases) 页面下载适合您操作系统的二进制文件
@@ -46,8 +50,6 @@ Invoke-WebRequest -Uri "https://shengsuanyun.oss-cn-shanghai.aliyuncs.com/claude
4650
- **Linux ARM64**: claudeproxy_Linux_arm64
4751
- **macOS Intel**: claudeproxy_Darwin_x86_64
4852
- **macOS Apple Silicon**: claudeproxy_Darwin_arm64
49-
- **Windows x86_64**: claudeproxy_Windows_x86_64.exe
50-
- **Windows ARM64**: claudeproxy_Windows_arm64.exe
5153

5254
### 方式四: 从源码构建
5355

0 commit comments

Comments
 (0)