centos安裝nodejs

鍵入如下指令node

curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -
yum install nodejs -y
node -v
複製代碼

若是顯示node版本則安裝成功bash

相關文章
相關標籤/搜索