NodeJS
Jump to navigation
Jump to search
Installing
Using Snap
snap install node --classic
If at some later point you want to upgrade node.js, check the available channels first:
snap info node
Then use for example
snap refresh node --channel 16/stable
npm (node package manager) can be upgraded with this command:
npm install -g npm