安装node

查询最新node版本号,例如最新版本为10.16.0

https://nodejs.org

运行命令

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

如果安装12.x.x 的版本,修改添加源地址中的数字,例如:

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

安装node

上一篇:QT 计算器


下一篇:asp.net MVC ViewData用法