How to clear https proxy setting of NPM?

前端 未结 30 2336
长发绾君心
长发绾君心 2020-11-29 14:59

How can I clear the previous ssl proxy setting of NPM? well, I search a lot, but all post I got is mainly about how to set proxy in corporate network.

30条回答
  •  一个人的身影
    2020-11-29 15:28

    If you want to switch between proxy for company network and remove proxy for home/personal network you can use --no-proxy

    Sample usage:

    npm install --save-dev "@angular/animations@8.2.14" --no-proxy
    

提交回复
热议问题