You must select the node operating environment, otherwise the code you write will not run. You must also select the npm package manager. This is used to download dependent packages. Online document. You don’t need to select this. The document can be viewed on the official website. Add to path To select, add it to the path. You can directly node app.js anywhere in cmd. If you don’t select it, you will have to D:XXX/node.exe app.js every time you run it. So much Trouble
nodejs running environment --- required, this is the core, used to execute js in the background
NPM package management ------ Optional, used for nodejs package management. If you do not want to install it, you need to install npm independently, so generally check
Online Documentation --- Optional
Add to system path --- Optional, after checking it, you can use nodejs and npm commands directly in cmd, otherwise you need to quote the corresponding exe to execute the command
You must select the node operating environment, otherwise the code you write will not run. You must also select the npm package manager. This is used to download dependent packages. Online document. You don’t need to select this. The document can be viewed on the official website. Add to path To select, add it to the path. You can directly
node app.js
anywhere in cmd. If you don’t select it, you will have to D:XXX/node.exe app.js every time you run it. So much TroubleDon’t worry, just go to the next step. . .
Since you have chosen Node.js, please use Linux
nodejs running environment --- required, this is the core, used to execute js in the background
NPM package management ------ Optional, used for nodejs package management. If you do not want to install it, you need to install npm independently, so generally check
Online Documentation --- Optional
Add to system path --- Optional, after checking it, you can use nodejs and npm commands directly in cmd, otherwise you need to quote the corresponding exe to execute the command