Skip to content

Docs For CLI

Set Proxy

Terminal window
vmr sp "http(socks5)://127.0.0.1:xxxx"

Set Reverse Proxy

Terminal window
vmr sr "https://proxy.vmr.us.kg/proxy/"

Show help info.

Terminal window
vmr -h

Show available SDK list.

Terminal window
vmr show

Show available version list for an SDK.

Terminal window
vmr search <sdk-name>

Show local installed SDKs.

Terminal window
vmr installed-sdks

Show local installed versions for an SDK.

Terminal window
vmr local <sdk-name>

Install and switch to the specific version of an SDK globally.

Terminal window
vmr use <sdk-name@version>

Temporarily switch to specific version of an SDK in current termianl session.

Terminal window
vmr use -s <sdk-name@version>

Lock the SDK version for current project.

Terminal window
vmr use -l <sdk-name@version>

Uninstall the specific version of an SDK. (But not the one currently in use.)

Terminal window
vmr uninstall <sdk-name@version>

Uninstall all local installed versions for an SDK. (Including the one currently in use.)

Terminal window
vmr uninstall <sdk-name@all>

SDK List not found?

How to enable multi-thread download?

Set number of threads > 1.

Terminal window
vmr st 2

How to toggle customed mirrors?

Terminal window
# $HOME/.vmr/customed_mirrors.toml
vmr tm

The default customed mirrors is available here.