# 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