Upgrade your Node to the latest version on Mac 2022

I often use Mac computer when I travel so I need to maintain an updated version of development tools e.g., Node.js.

Here’s a simple way of upgrading your node to the latest stable version.

  1. Open your console to check your current node version.
    • $ node -v
    • v x.x.x
  2. Install n package using npm
    • sudo npm install -g n
  3. Update your node.js using stable version
    • sudo n stable
  4. After that, check your node.js version again to see the latest version.
    • $ node -v
    • v x.x.x

That’s it.


Discover more from QUE.com

Subscribe to get the latest posts sent to your email.

Founder & CEO, EM @QUE.COM

Founder, QUE.COM Artificial Intelligence and Machine Learning. Founder, Yehey.com a Shout for Joy! MAJ.COM Management of Assets and Joint Ventures. More at KING.NET Ideas to Life | Network of Innovation

kingdotnet has 2745 posts and counting.See all posts by kingdotnet

Leave a Reply

Connect with

Discover more from QUE.com

Subscribe now to keep reading and get access to the full archive.

Continue reading