Node.js/npm/代理:修订间差异
来自康健生活
无编辑摘要 |
|||
| 第5行: | 第5行: | ||
</syntaxhighlight>|$|/home/kwy}} | </syntaxhighlight>|$|/home/kwy}} | ||
设置代理 | |||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
npm config set proxy http:// | npm config set proxy http://192.168.51.34:808 | ||
npm | npm config set https-proxy http://192.168.51.34:808</syntaxhighlight>|$}} | ||
== yarn == | == yarn == | ||