gpt4 book ai didi

macos - 从 Mountain Lion 中删除 Node.Js

转载 作者:IT老高 更新时间:2023-10-28 23:00:27 26 4
gpt4 key购买 nike

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

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

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

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

最佳答案

由答案 How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X) 找到

  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

关于macos - 从 Mountain Lion 中删除 Node.Js,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14673327/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com