1

Running Ubuntu 16.04 on 64bit in a VM.

To be clear, I'm wondering why that specific version of nodejs is the one in the repo. Is it because the developer of nodejs choose to make that the default or is it due to something else?

RayB
  • 154

1 Answers1

6

The reason that the nodejs package seems so outdated is that it hasn't been updated since Ubuntu 16.04 LTS came out, but you can install v9 of node.js using these commands:

curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs

Source: https://nodejs.org/en/download/package-manager/