Nvm Upgrade Node to Latest LTS

Oct 22, 2019

Upgrade to latest Node 8/carbon from 8.11.3

nvm install lts/carbon --reinstall-packages-from=8.11.3

Upgrade to latest LTS (which is lts/erbium -> v12.13.0 at the current moment)

nvm install lts/* --reinstall-packages-from=8.11.3

NOTE: To show available lts, use nvm list.

Update npm

nvm install-latest-npm

Upgrade Node and npm together

nvm install lts/* --reinstall-packages-from=default --latest-npm

Remove old version

nvm uninstall 8.11.3

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.