简体   繁体   English

无法在Mac上安装Node JS

[英]Can't install node js on mac

After node installation on mac, regular installation is finished properly but it can't be found on terminal. 在Mac上安装节点后,常规安装已正确完成,但在终端上找不到。

I used this line to define the PATH : export PATH=/usr/local/bin: $PATH and it still can't find node or npm on terminal. 我用这一行来定义PATH: export PATH=/usr/local/bin: $PATH ,它仍然在终端上找不到节点或npm。

What is your echo $PATH output? 您的echo $PATH输出是什么? Make sure you use correct syntax like this: 确保使用正确的语法,如下所示:

export PATH="/usr/local/mysql/bin:$PATH"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM