Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed May 5, 2024
1 parent e6aee35 commit 69c1ae4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/zh-cn/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,25 @@
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.sh | sh
```

如果你的终端无法开启代理,你可以使用以下命令。

```bash
curl --proto '=https' --tlsv1.2 -sSf https://gvc.1710717.xyz/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.sh | sh
```

### Windows下的安装

复制以下命令,并在Powershell中执行。
```bash
powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.ps1')"
```

如果你的终端无法开启代理,你可以使用以下命令。

```bash
powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://gvc.1710717.xyz/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.ps1')"
```

!> 如果你的系统是Win11,你需要打开**开发者模式**,因为vmr需要创建符号链接。如果你的系统是Win10,并且遇到创建符号链接失败的情况,你可以尝试在管理员权限下完成操作(**一般情况下无需管理员权限**)。

!> 使用go源码编译得到的Windows可执行文件,经常被检测为病毒,这是**误报**,目前没有较好的办法。关于解释,详见[这里](https://juejin.cn/post/7027066330331217957)。 这种情况下,你需要手动将一些目录添加到信任列表中。需要添加到信任的目录有 **$HOME**, **$HOME/.vm**, 以及你指定的**SDK安装目录**
Expand Down

0 comments on commit 69c1ae4

Please sign in to comment.