yarn config set global-folder "D:\Program Files\nodejs\yarn\global" yarn config set cache-folder "D:\Program Files\nodejs\yarn\cache"
//查看路径信息 npm config ls npm config set prefix "D:\Program Files\nodejs\node_gobal" npm config set cache "D:\Program Files\nodejs\node_cache"
标签:npm,Files,set,nodejs,yarn,切换,config From: https://www.cnblogs.com/shuzhixia/p/16998337.html