
You’ll need a C++ compiler, as well as the build-essential, and the libssl-dev packages. Node Version Manager, or nvm, is far and away the best method for updating Node.js. Update Node.js Using Node Version Manager (nvm) This guide also includes instructions for updating Node.js through binary packages with version-specific references.

If extenuating circumstances prevent you from using nvm, you can rely on the resources of Node Package Manager (npm).

We value simplicity and effectiveness in systems administration and, for us, the easiest method is to use Node Version Manager (nvm).īefore you start, check which version of Node.js you’re currently using by running node -v in a command line terminal. The exact steps to updating Node.js on a Linux system can vary by distribution, but our recommended methods will work across most versions.
