从Mountain Lion中删除Node.Js [英] Removing Node.Js from Mountain Lion

查看:100
本文介绍了从Mountain Lion中删除Node.Js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
我如何完全卸载Node.js,然后从头开始重新安装(Mac OS X)

Possible Duplicate:
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

我正在尝试从系统中删除Node.js,以便可以使用NVM版本管理器重新安装它.

I'm trying to remove Node.js from my system so I can reinstall it using the NVM version manager.

我前一段时间安装了Node.js,根据节点--version,我正在运行v0.6.8

I installed Node.js a while ago and according to node --version, I'm running v0.6.8

我环顾四周,但是我发现的大多数答案仅限于通过PKG文件安装Node,而它们的补救措施对我不起作用.

I've had a look around but most of the answers i've found are limited to Node being installed via a PKG file and their remedies don't work for me..

推荐答案

答案

  1. 转到/usr/local/lib 并删除任何 node node_modules
  2. 转到/usr/local/include 并删除任何 node node_modules 目录
  3. 如果您是通过 brew安装节点安装的,请在终端中运行 brew卸载节点
  4. 检查您的主目录中是否有本地"或"lib"或包含"文件夹,然后从其中删除任何节点"或"node_modules"
  5. 转到/usr/local/bin 并删除任何 node 可执行文件
  6. 转到/usr/bin并删除任何节点可执行文件
  1. go to /usr/local/lib and delete any node and node_modules
  2. go to /usr/local/include and delete any node and node_modules directory
  3. if you installed with brew install node, then run brew uninstall node in your terminal
  4. check your Home directory for any "local" or "lib" or "include" folders, and delete any "node" or "node_modules" from there
  5. go to /usr/local/bin and delete any node executable
  6. go to /usr/bin and delete any node executable

这篇关于从Mountain Lion中删除Node.Js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆