$ node -v$ sudo npm install -g n(Use this command to install the stable node release.)
$ sudo n stable(Use this command to install/update the latest node release.)
$ sudo n latest(Use this command to install/update the latest LTS node release.)
$ sudo n lts