About node. js
Simply put, node. JS is the JavaScript that runs on the server. node. JS is a JAVASCRIPT runtime environment based on the Chrome V8 engine. node. JS uses an event-driven, non-blocking I/O model to make it lightweight and efficient. node. JS's Package Manager, NPM, is the world's largest open source library ecosystem.
Download
https://nodejs.org/
Environment configuration
Description: The environment configuration here is primarily configured with the path of the global module where NPM is installed, and the path of the cache caches, which is to be configured as follows: NPM install express [-G] (the following optional parameter-G, G for the installation statement of global installation, the installed module is installed in the "C:users User name appdataroamin\npm" path, which occupies the space of C disk.
For example, if you want to place the full module path and the cache path in the D:\nodejs folder, you need to create two subfolders "Node_global" and "Node_cache" such as:
After creating two empty folders, open the cmd command window and enter
NPM config set prefix "D:\nodejs\node_global"
NPM config set cache "D:\nodejs\node_cache"
Next, set the environment variable
Check the node. JS version
If you are not sure if you have node. js installed on your computer, or if you are unsure of the version number, you can use the following command on the line:
Node-v
Installing common Components Vue-cli
Vue is the official tool for quickly creating projects.
npm install vue-cli -g
This article refers to:
Worth looking at the installation configuration of Nodejs
Install CONFIG. js on Windows