diff --git a/src/content/docs/guides/cli.mdx b/src/content/docs/guides/cli.mdx index f4dd2d5..7bc2042 100644 --- a/src/content/docs/guides/cli.mdx +++ b/src/content/docs/guides/cli.mdx @@ -78,3 +78,24 @@ vmr uninstall ```bash vmr uninstall ``` + +## SDK List not found? + + + +## How to enable multi-thread download? + +Set number of threads > 1. +```bash +vmr st 2 +``` + +## How to toggle customed mirrors? + +```bash +# $HOME/.vmr/customed_mirrors.toml +vmr tm +``` +The default customed mirrors is available [here](https://github.com/gvcgo/vsources/blob/main/mirrors/customed_mirrors.toml). diff --git a/src/content/docs/zh-cn/guides/cli.mdx b/src/content/docs/zh-cn/guides/cli.mdx index 9e6a223..0601165 100644 --- a/src/content/docs/zh-cn/guides/cli.mdx +++ b/src/content/docs/zh-cn/guides/cli.mdx @@ -78,3 +78,32 @@ vmr uninstall ```bash vmr uninstall ``` + +## SDK列表没找到? + + + +## 如何开启多线程下载模式? + +把默认的下载线程数设置为大于1的值即可.参考下面的命令.注意,可能有些下载源不支持多线程下载,会导致下载失败,这种情况下把线程数设置回1即可。 +```bash +vmr st 2 +``` + +## 如何开启/关闭定制下载源? +如下命令(以及相关配置文件)。有默认的配置,可以自行根据需要编辑。 +```bash +# $HOME/.vmr/customed_mirrors.toml +vmr tm +``` +默认的定制源配置在[这里](https://github.com/gvcgo/vsources/blob/main/mirrors/customed_mirrors.toml). + +## 如果你还是觉得VMR展示列表的响应慢,怎么办? + +可以在VMR的配置文件中,设置如下字段。 +```bash +VersionHostUrl='https://gitee.com/moqsien/vsources/raw/main' +``` +这是VMR版本仓库的国内镜像仓库。