您可以使用设置代理原子
apm config set http-proxy http://....
Run Code Online (Sandbox Code Playgroud)
但是如何使用apm config取消设置代理.我试过了
apm config unset http-proxy
Run Code Online (Sandbox Code Playgroud)
但它不起作用
小智 5
试试这个:
apm config delete <your-key>
Run Code Online (Sandbox Code Playgroud)
<your-key>你的http-proxy 在哪里,所以变成:apm config delete http-proxy
然后使用以下方法验证
apm config get <key>
Run Code Online (Sandbox Code Playgroud)
它应该设置为null.无论如何,您可以通过以下方式浏览命令列表:
apm help
Run Code Online (Sandbox Code Playgroud)
然后
apm help <your-chosen-command>
Run Code Online (Sandbox Code Playgroud)