📅  最后修改于: 2022-03-11 15:01:32.485000             🧑  作者: Mango
# See for the latest version https://github.com/nodesource/distributions/blob/master/README.md#debinstall
# assuming you have curl installed
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs