共计 390 个字符,预计需要花费 1 分钟才能阅读完成。
pnpm 设置全局存储路径
设置存储路径
查看当前存储路径
pnpm c get
设置存储路径
pnpm config set global-bin-dir "D:softwarePluginspnpmpnpm-store"
pnpm config set cache-dir "D:softwarePluginspnpmpnpm-storecache"
pnpm config set state-dir "D:softwarePluginspnpmpnpm-storestate"
pnpm config set global-dir "D:softwarePluginspnpmpnpm-storeglobal"
设置国内镜像
查看当前镜像
pnpm config get registry
设置国内镜像
pnpm config set registry https://registry.npmmirror.com/
原文地址: pnpm 设置全局存储路径
正文完