Installing NPM in Windows

Source: Internet
Author: User

Why? Because the online tutorials are very popular, but I have a unique style. Not to mention, let's look at the following:

There are two ways to install NPM on the Internet: one is to add several commands through msysgit, and the other is to manually download the corresponding NPM package for installation.

What we want to talk about now is similar to the second one. It is really different from it. Please refer:

1、download node.exe: On the http://nodejs.org/dist/, find the nodejs version you want;

2. decompress the package to the corresponding file path. Assume E: \ node, and add E \ node to the environment variable;

3. Download NPM: http://npmjs.org/dist/ to the above to find the NPM version you are looking;

4. decompress the package to E: \ node. In this way, the node folder contains three files: node.exe node_modules NPM. CMD;

5. run Windows (WIN + r)-> input cmd-> input E:-> input CD node;

6. Try entering NPM-V directly.

In this way, you can start the node learning journey.

Is that true? I think so. Try?

PS: I used to follow the steps on the Internet. I had a cup of reminders. Finally, I found this method in: https://github.com/isaacs/npm.

"Fancy windows install" (installation in a strange Windows environment) (nodejs is used and installed in windows, which is always a great reminder ...)

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.