# 安装更新Node.js和Npm所需要的软件 # 添加NodeSource APT存储库和用于验证软件包的PGP密钥 ### "add NodeSource APT is PGP" apt install apt-transport-https curl ca-certificates software-properties-common ### "add apt-...
更新ubuntu软件源 sudo apt-get update sudo apt-get install -y python-software-properties software-properties-common sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update apt-get install nodejs n...