Download Node from Official Website Link https://nodejs.org/en/download
For Mac Machines, there is only a 64-bit operating system so we don't need to worry about which version we need to install.
After the Node Extension download on your machine, click on the extension file and run it.
The installer package contains both Node.js version v20.11.0 and npm version v10.2.4, the installation process will install both Node.js and npm from the installer file. Therefore, we don’t need to install npm separately. Then, click `Continue`.
In the Licence step, we must agree to the terms of installing Node.js. Go through with `Read Licence` before clicking the Agree button.
In the Destination Select step, we need to select the installation destination. we can change the location or keep it at the default location.
The node Installation script will also set the node destination folder path in `Environment Path Variable` so that we can run node commands from command prompts.
After going through each step one by one from the installer prompt screen, It will show us a confirmation message `The Installation was completed successfully`. Finally, we can click on the Close button to close the prompt box.
Now installation steps have been completed. Now, we can check whether a node has been installed on our machine or not.
To check the Node.js and NPM (Node Package Manager) Installed Version on our machines. we can use the below commands to check node versions.
// we check Node Version using `-v` and `--version` node -v or node --version // we check NPM Version using `-v` and `--version` npm -v or npm --version
Note: Output can be different on your machines.