I'm updating the info on the available packages.
sudo apt-get update
Then, I'm installing NodeJs and NPM.
sudo apt-get install nodejs
sudo apt-get install npm
When finished, I get the message that the latest version is installed. I also verify it.
nodejs --version
It says that the version is 8.10.0. However, when I check on NodeJs' page, it says that the latest current version is 10.10.0 (and even the LTS version is higher, 8.11.4).
Clearly, I'm not getting the latest version and being a noob on Linux, I'm sure I've done something wrong, despite following a guide.
My version is, according to the "About", 18.04.1 LTS.
- What am I missing in my ignorance?
- How can I install the recent version of NodeJs?