Installing node using Rosetta 2 (Only for Macbook Users)

ncutixavier

ncutixavier

Posted on July 15, 2024

Installing node using Rosetta 2 (Only for Macbook Users)

Let's suppose that you want to install node@14.

For instance, if you need node version 14.21.3, install it using Rosetta 2, which allows running Intel-based applications on Apple Silicon Macs. Here's how:

  1. Install Rosetta 2 if not already done: Search online

  2. Open Terminal in Rosetta mode:

  • Right-click Terminal app -> Get Info
  • Check the "Open using Rosetta" checkbox
  • Restart Terminal
  • In the Rosetta Terminal, try installing again: nvm install 14.21.3
💖 💪 🙅 🚩
ncutixavier
ncutixavier

Posted on July 15, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related