我刚刚安装了 Yarn,我正在尝试从 npm 切换。
我试图像这样设置我的缓存路径,但没有成功:
yarn --cache-folder /usr/local/Caches/yarn
yarn global --cache-folder /usr/local/Caches/yarn
yarn global cache --cache-folder /usr/local/Caches/yarn
yarn cache --cache-folder /usr/local/Caches/yarn
yarn config set --cache-folder /usr/local/Caches/yarn