How to install angular-cli without internet

后端 未结 3 1604
花落未央
花落未央 2021-02-05 13:58

If you only have the zip file to install angular-cli with - how can it be installed without an internet connection?

3条回答
  •  灰色年华
    2021-02-05 14:34

    This would be a good solution for your case.

    npm i @angular/cli -g --cache MY_CACHE_FOLDER --cache-min 999999999 --no-shrinkwrap
    

    You can find full article here.

提交回复
热议问题