Simple and fast way to update the node version on your machine, let's install package n globally
sudo npm install -g n
Then we can install the latest version or stable version as you prefer
Latest version
sudo n latest
Stable version
sudo n stable
Top comments (0)