Install Nodejs, we need to install express using the command line.
By default, node. JS is installed in the C:\Program files\nodcejs\ disk.
In the status of maintaining networking, enter the following command in turn.
Set " C:\Program Files\nodejs\node_global " Set"C:\Program files\nodejs\node_cache"npm Install --G express-generator
After the installation is complete, configure it in the system environment variable.
In the system variable, add the value named Node_path variable to C:\Program Files\nodejs\node_global,
Then add%node_path% after the system variable "Path"
Restart CMD, then.
You can use Express-v to view the version;
After the environment is fully configured, you can create the project under the specified directory, which supports JADE/EJS----EXPRESS-T EJS project name
Add a reference to the dependency package and go to the project folder---npm install
node. JS Basic Learning Express installation using