Linux 下安装 NVM

未匹配的标注

请尽量避免在 Ubuntu 上使用  apt-get 来安装 Node.js, 如果你已经这么做了,请手动移除:

$ sudo apt-get purge nodejs && sudo apt-get autoremove && sudo apt-get autoclean

使用以下命令安装 NVM:

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

另外,推荐对 inotify 做以下配置:

$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

NVM 的使用请参考: Mac 下安装 NVM

本文章首发在 LearnKu.com 网站上。

上一篇 下一篇
贡献者:1
讨论数量: 1
发起讨论 查看所有版本


MasterPoser
链接 都拒绝链接了
0 个点赞 | 2 个回复 | 问答