Cgr 一个同时管理npmyarn的源切换工具

Posted LnEoi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cgr 一个同时管理npmyarn的源切换工具相关的知识,希望对你有一定的参考价值。

仓库地址:cgr

安装

npm install -g cgr

Usage

Usage: cgr [options] [command]

  Commands:

    ls                           List all the registries
    use <registry> [type]        Change registry to registry.  type n or y
    add <registry> <url> [home]  Add one custom registry
    del <registry>               Delete one custom registry
    test [registry]              Show the response time for one or all registries
    help                         Print this help

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

以上是关于Cgr 一个同时管理npmyarn的源切换工具的主要内容,如果未能解决你的问题,请参考以下文章