​友链​

linux添加环境变量_linux

参考:

export PATH=$PATH:/opt/software/node-v8.9.3-linux-x64/bin/node

//2,修改配置文件/etc/profile

vi /etc/profile

在里面加入:export PATH=$PATH:/opt/software/node-v8.9.3-linux-x64/bin/node