yarn 配置文件
ini
# .yarnc文件 (一般位于 C:\Users\<username>)
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# npm 缓存
cache-folder "F:\\scoop\\user\\apps\\yarn\\current\\cache"
# npm 包目录
global-folder "F:\\scoop\\user\\apps\\yarn\\current\\global"
lastUpdateCheck 1722217102602
prefix "F:\\scoop\\user\\apps\\yarn\\current\\global"
yarn-offline-mirror "F:\\scoop\\user\\apps\\yarn\\current\\mirror"
查看当前配置
sh
yarn config list
安装包
sh
npm add <package>