search

Home  >  Q&A  >  body text

node.js - mac下如何知道nodejs是不是sudo安装?

最近在研究appium,需要安装nodejs。但appium要求nodejs不能用sudo权限安装
我的mac已经安装了nodejs环境了,但不知道是不是用sudo权限安装的,请问有什么命令或者方法可以查看确认?
谢谢。

巴扎黑巴扎黑2875 days ago325

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 16:11:36

    which node
    Find the node installation path and run ls -l to view the installation user

    reply
    0
  • Cancelreply