We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近发现公司电脑的 C 盘空间快爆满了,查询了一番发现是 npm 和 yarn 的缓存文件太多了,大约有 16G,于是便调整他们的缓存目录
C
npm
yarn
16G
npm root -g
npm config get cache
npm config set cache "your path"
yarn global dir
yarn cache dir
yarn config set cache-folder "your path"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
背景
最近发现公司电脑的
C
盘空间快爆满了,查询了一番发现是npm
和yarn
的缓存文件太多了,大约有16G
,于是便调整他们的缓存目录相关命令
查询 npm 全局目录
查询 npm 缓存目录
设置 npm 缓存目录
查询 yarn 全局目录
查询 yarn 缓存目录
设置 yarn 缓存位置
The text was updated successfully, but these errors were encountered: