yarn config set registry https://registry.npmmirror.com
时间: 2024-08-02 10:01:40 浏览: 119
Node.js安装与环境配置全攻略:从零到一轻松上手.pdf
To configure yarn to use the `https://registry.npmmirror.com` as your package registry, you can run the following command in your terminal:
```shell
yarn config set registry https://registry.npmmirror.com
```
This command sets the global configuration for yarn's package registry to the specified URL, allowing you to install packages from that mirror when working with Yarn.
阅读全文