3 Ways to Update Node Versions on Linux-Based Machines

We’re covering all your bases with updating Node on Linux-based operating systems, but Option 1 is by far our most recommended method for simplicity and effectiveness. If extenuating circumstances prevent you from going the Node Version Manager route, read on for instructions on updating Node through package managers or binary packages.

1. Update Node Using Node Version Manager

Node Version Manager, or nvm, is far and away the best method to updating Node. You’ll need a C++ compiler, as well as the build-essential and libssl-dev packages. Run an update first, then get the packages:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
Advertisements