CentOS7 安裝node.js

1.獲取nodejs 資源node

# 8.x
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -

2.安裝npm

yum install -y nodejs

3.驗證bash

#node版本
node -v
#npm版本
npm -v

相關文章
相關標籤/搜索