0. Configure the Express environment variables: System variables, environment variables---Properties--- > Add after Path%NODE_PATH%
1. After setting the environment variable, you can restart your computer or Restart Explorer: Enter cmd/k taskkill/f/im explorer.exe && start Explorer.exe after Windows+r
2. After installing node. js, enter node-v on the cmd command line, and if you print the version you installed, then the Nodejs installation is successful. Enter NPM-V print corresponding version Description NPM installation is successful
3. First create a new two folder under the file path of the installation Nodejs Node_global and Node_cache
4. Type in the cmd command line: NPM config set prefix "E:\nodejs\node_global" and NPM config set cache "E:\nodejs\node _cache "
5. Install Global Express and Express-generator: Enter NPM install-g Express and NPM install- G Express -generatorat the command line /c11>
6. The latest version defaults to the Ejs template engine, and the command line input node Ejs require ("express") can be used to detect whether the installation was successful
7. Enter Express--version on the command line to detect the Express version (note: Must be--version)
Express configuration process (Windows)