Installation of "Essays" node. js + npm

Source: Internet
Author: User

node. js and NPM need to be used, so install it.

Looking for tutorials on the internet, many of them are separately installed, all kinds of trouble, and finally in node. JS official website to download the solution. Record it.

If installed in the current environment, directly click on the install will automatically detect the system to download, or click Download, download as needed.

Since I was installed in the Debian system under the virtual machine, I chose to download the source code to compile myself.

Click to download node-v0.10.33.tar.gz

Then copy it to the virtual machine's system and unzip

TAR-ZVXF node-v0.10.33.tar.gz

CD node-v0.10.33

./configure//To detect the installation environment, there is a need to install g++, if not installed g++, can be installed by Apt-get install g++

Make

Make install

Wait a minute, it's ready.

Test Node-v

If output: v0.10.33 indicates correct installation

Same npm-v

Output: 1.4.28

It's already integrated with NPM in the source code package on the official website, so I don't have to install it alone, so I've wasted so much time installing NPM ...

Installation of "Essays" node. js + npm

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.