Skip to content

npm-nrm #115

@mowatermelon

Description

@mowatermelon

nrm

官方仓库

https://github.com/Pana/nrm

官方npm地址

依赖包地址

https://www.npmjs.com/package/nrm

image

在线运行地址

https://npm.runkit.com/nrm

基础介绍

nrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu).

基础安装

npm install nrm --save   # npm
yarn add nrm             # Yarn

基础使用

$ npx nrm ls

  npm -------- https://registry.npmjs.org/
  yarn ------- https://registry.yarnpkg.com/
  cnpm ------- http://r.cnpmjs.org/
* taobao ----- https://registry.npm.taobao.org/
  nj --------- https://registry.nodejitsu.com/
  npmMirror -- https://skimdb.npmjs.com/registry/
  edunpm ----- http://registry.enpmjs.org/

$ nrm use cnpm  //switch registry to cnpm

    Registry has been set to: http://r.cnpmjs.org/

所有指令

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions