Nodejs installation of Windows

Source: Internet
Author: User
Tags sublime text

0.:

http://nodejs-org.qiniudn.com/

https://nodejs.org/download/

https://nodejs.org/en/

1. Basic is the next, and finally check the installation.

CMD inside input node-v,-npm-v

2. Some environmental configurations:

In the installation directory C:\Program Files\nodejs, create a new folder: Node_global,node_cache

CMD inside continue to enter

NPM config set cache "C:\Program files\nodejs\node_cache"

And

NPM config set prefix "C:\Program files\nodejs\node_global"

Here is the configuration of the plugin package cache, installation path.

Set the NODE_PATH environment variable, otherwise express these plug-in packages are not require.

My Computer "Properties" advanced "Environment variables" System variables

New Node_path, enter C:\Program files\nodejs\node_global\node_modules

3. Install the usual packages

CMD under input

NPM installl express-g Installation Express

NPM is the plug-in Package Manager

Installl is the installation

Express is the package name,

-G is global and is installed under the C:\Program Files\nodejs\node_global directory.

Other detailed commands are available at NPM website https://www.npmjs.com/.

Some of the most common: npm installl mysql-g

NPM installl Path-g

NPM installl Net-g

Of course, you can also refer to the Dream Sky Blog: http://www.cnblogs.com/lhb25/p/10-best-node-js-mvc-frameworks.html to choose what you need.

Or go to https://nodejsmodules.org/to pick your own.

4. Development tools:

Webstorm is still good.

Sublime Text 2 is slightly more difficult for beginners.

Reference blog:

Http://www.cnblogs.com/lhb25/p/node-js-resources.html

http://blog.csdn.net/html5_/article/details/40896091

Nodejs installation of Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.