1、安装nodejs
curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash - sudo yum install nodejs node -v
2、安装yarn
#安装yarn npm install -g yarn #查看版本 yarn --version #更换源 yarn config set registry https://registry.npm.taobao.org -g yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g
标签:npm,vue,nodejs,16,yarn,yum,安装 From: https://www.cnblogs.com/binz/p/17253399.html