Follow the steps for Node.js installation:
- Download the installer from the Nodes.js® downloads page (https://nodejs.org/en/download/).
- Run the installer (the .pkg (macOS) / .msi (Windows) file you downloaded in the previous step).
- Follow the prompts in the installer (accept the license agreement, click the NEXT button a bunch of times, and accept the default installation settings):