【经验分享】解决Linux下安装node报错:command not found 文章目录 【经验分享】解决Linux下安装node报错:command not found 1、现象 2、解决方法 2.1 sudo yum install epel-release 2.2 sudo yum install nodejs 2.3 node --version 1、现象 今天在linux下安装node时提示 -bash: node: command not found 2、解决方法 在这种情况下可以使用epel来安装node 2.1 sudo yum install epel-release 2.2 sudo yum install nodejs 2.3 node --version