bashcurl -sL https://rpm.nodesource.com/setup_10.x | bash - sudo yum install -y nodejscurl -sL https://rpm.nodesource.com/setup_10.x | bash -sudo yum install -y nodejs 以上命令代表我想安装 Node10 最新版本,更多版本参见 https://github.com/nodesource/distributions