npm常用操作

  • 查询当前npm源:npm config get registry
  • 设置镜像源: npm config set registry https://registry.npm.taobao.org --global
  • 清除npm缓存: npm cache clean -f
posted @ 2020-04-09 23:02  zoo-x  阅读(93)  评论(0)    收藏  举报