wget https://nodejs.org/dist/v12.18.3/node-v12.18.3-linux-x64.tar.xz
tar xvf node-v12.18.3-linux-x64.tar.xz
mv node-v12.18.3-linux-x64 nodejs
vim /etc/profile
export PATH=$PATH:/usr/local/src/software/nodejs/bin
source /etc/profile
wget https://nodejs.org/dist/v12.18.3/node-v12.18.3-linux-x64.tar.xz
tar xvf node-v12.18.3-linux-x64.tar.xz
mv node-v12.18.3-linux-x64 nodejs
vim /etc/profile
export PATH=$PATH:/usr/local/src/software/nodejs/bin
source /etc/profile
本文标题:CentOS 安装NodeJs
本文链接:https://www.haomeiwen.com/subject/dxdrektx.html
网友评论