DEV Community

Cover image for Installing node using Rosetta 2 (Only for Macbook Users)
ncutixavier
ncutixavier

Posted on

Installing node using Rosetta 2 (Only for Macbook Users)

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

If you need 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

Top comments (0)