There are many ways to install Node.js on MacOS, such as nvm or homebrew, but I’ve always preferred a direct, manual approach. For me, this method gives you complete control, involves no extra package managers, and makes upgrades transparent and simple.
This guide will walk you through manually installing Node.js on macOS (and the same principles apply to Linux).