Node.js tutorial series (two): Node.js installation

  Node.js installation method:

  Open node.js official website https://nodejs.org/ can see the two latest versions of LTS and Current, which LTS (Long Term Surport) that is the latest stable version, Current latest version. We generally use the stable version for development and application.

  The system (windows / mac / linux) download the installation file to complete the installation.

  After installation is complete, open a command-line tool cmd, input node -v can see the version number of the installed node.js, the installation is successful.

Node $ - v 
v10. 16.0

  Node installation, the installation is automatically NPM (node.js package management tools) for mounting the node.js package management, including dependency between individual packages.

  Execution npm -v can see the version number npm installed, the installation instructions npm success.

$ Asl - v
 6.4 . 1

  Previous: Node.js tutorial series (a): Node.js Profile

  

Guess you like

Origin www.cnblogs.com/fivehun/p/11275445.html