@buildinteractiveTo clarify: this is assuming I have already installed the following, correct? npm install -g n
@lashieUsing N: An npm-based node version manager. Check the Node.js version in your console. If n package is not already installed, install it using npm. sudo npm install -g n (To install the stable node release, use this command.)
sudo n stable (To install/update the most recent node release, use this command.)
Sudo n latest Install/update the most recent LTS node release with this command.
sudo n lts done now! Checking your Node.js version once more will allow you to confirm the update was successful.