3

Node.js 和 npm 的安装与卸载(MacOS)

 3 years ago
source link: https://wiki-power.com/Node.js%E5%92%8Cnpm%E7%9A%84%E5%AE%89%E8%A3%85%E4%B8%8E%E5%8D%B8%E8%BD%BD%EF%BC%88MacOS%EF%BC%89
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Node.js 和 npm 的安装与卸载(MacOS)

安装#

http://nodejs.cn/download/

卸载#

通过 homebrew 安装的:

通过 .pkg 安装包安装的:

sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}

疑难解答#

Q:MacOS 修改用户名后,提示权限不足:EACCES: permission denied A:sudo npm install -g appium --unsafe-perm=true --allow-root ,以非安全模式运行。

文章作者:Power Lin
原文地址:https://wiki-power.com
版权声明:文章采用 CC BY-NC-SA 4.0 协议,转载请注明出处。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK