[macOS] Install node.js on MAC system

Install node.js on MAC system

1 Open node official website

https://nodejs.org/zh-cn/

insert image description here

You can see that the official website can identify the macOS system, and then click the stable version to download

2 After the download is complete

Open the Finder Double-click to open the fileinsert image description here

The following page appears
insert image description here

click to continue

insert image description here

The following page appears

insert image description here

Click Agree, the following page appears

insert image description here

Click Install and wait for the installation
insert image description here

The installation is successful, click Close.

3 View the installation status and version information

Open the mac terminal (focus search for "terminal" can also be found
insert image description here

insert image description here

Open a terminal and type

node -v
npm -v

Check whether the installation is successful, display the version information, indicating that the installation is successful

insert image description here

Guess you like

Origin blog.csdn.net/m0_55644132/article/details/128993261