1. 指定版本源
需要更换版本, 就更换数字就可以了
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
2.直接安装
sudo apt-get install nodejs
需要更换版本, 就更换数字就可以了
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install nodejs
本文标题:ubuntu 安装nodejs笔记
本文链接:https://www.haomeiwen.com/subject/hilvjxtx.html
网友评论