// 清理缓存 $ yarn cache clean $ npm cache clean -f $ pnpm store prune // 设置新的缓存地址 $ npm config set global-folder "E:/npm/global" $ pnpm config set global-folder "E:/yarn/global" $ pnpm config set "E:/pnpm/global"
标签:npm,缓存,global,yarn,set,pnpm From: https://www.cnblogs.com/CyLee/p/17574665.html