PS D:\source> yarn config get registry
PS D:\source> yarn config set registry https://registry.npm.taobao.org
yarn config v1.21.1
success Set "registry" to "https://registry.npm.taobao.org".
Done in 0.08s.
PS D:\source> yarn config get registry
https://registry.npm.taobao.org
PS D:\source>