Home > Article > Web Front-end > How to configure the Node environment in IDEA? Brief analysis of methods
How to run node in IDEA? The following article will introduce to you how to configure, install and run node.js in IDEA. I hope it will be helpful to you!
Official website download link:Node.js
Click the red marked area in the picture below to download the msi file
【Recommended related tutorials: nodejs video tutorial】
Open the msi file
## Click "Next" all the way (it is recommended to customize the file installation path) Installation completedAt this point IDEA will automatically find the corresponding package manager (npm.cmd) Click "OK"
Method 1:
Open any js empty fileEnter "a" in the js file Click "Run" The window outputs the current Node.js version, the configuration is successfulMethod 2:
Open any normal js fileClick "Run" If the window output is normal, the configuration is successful
For more node-related knowledge, please visit:
nodejs tutorial!
The above is the detailed content of How to configure the Node environment in IDEA? Brief analysis of methods. For more information, please follow other related articles on the PHP Chinese website!