0

I understand that apt is NOT the regular way

I see 3 options:

  1. download and run an opaque script from the nodejs sites
  2. umake (https://wiki.ubuntu.com/ubuntu-make)
  3. asdf (https://asdf-vm.com/)

I'd like to take a look at the Tryton web client (named Sao) and nodejs is a requirement

How am I supposed to get that ?

user1632812
  • 183
  • 1
  • 8
  • 4
    Does this answer your question? [How do I install the latest version of node.js?](https://askubuntu.com/questions/49390/how-do-i-install-the-latest-version-of-node-js) (`sudo snap install node --classic --channel version/stable` where you replace `version` with a 1-digit or 2-digit version number) – karel Sep 28 '21 at 07:52
  • 1
    @karel Amazingly, this answer is still valid after 10 years. – Jos Sep 28 '21 at 08:21
  • did snap exist 10 years ago ? Wow – user1632812 Sep 28 '21 at 08:50

1 Answers1

0

It's a matter of preference, but generally I'd use the Node Version Manager nvm because it facilitates side-by-side installations (and easy de-installations) of major Node versions.

knb
  • 4,804
  • 4
  • 33
  • 40