This post is also available in: Deutsch (German)
Run these shell commands on your Ubuntu computer to install NodeJS 10.x:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
setup_10.x you can also choose other versions like
setup_8.x. However, using this method, you can’t install multiple versions of NodeJS in parallel.