win install Node.js

Go to the official website to download and download the corresponding version

Official site: Download | Node.js (nodejs.org)

It is recommended to download the msi version directly (msi will automatically configure environment variables)

After downloading, double-click to install

 This installation automatically creates the environment variable

 verify installation

bring up terminal

win + R

Enter cmd and click OK

cmd

 

Enter node -v and npm -v respectively

node -v 
npm -v

 

The corresponding version number appears to indicate that the installation is complete

Guess you like

Origin blog.csdn.net/weixin_42131208/article/details/128126595