npm install just once

1.from cache
    cache is in `npm config get cache`

    npm i -g --cache-min 9999999 <package,url>

2.use npm-cache 
    2.1 install npm-cache component
        npm i -g npm-cache
    2.2 npm-cache install 代替 npm install

3.use nrm
    nrm ls
    nrm use cnpm

4. use yarn
    yarn's speed  is better than npm

results matching ""

    No results matching ""