Ubuntu node, NPM, Bower easy installation

Source: Internet
Author: User

1.node, NPM installation

Official website: https://nodejs.org/en/

Perform

wget https://

Download the compressed package to the execution directory

#解压 tar xzvf node-v0. 12.10-linux-x86. tar. gz

Go to unzip Directory

CD Node-v0. 12.10-linux-x86

In the bin directory, you can see two executables, node and NPM, and then execute

sudo Ln -s/home/ubuntu/tools/node-v0. 12.10-linux-x86/bin/node/usr/local/bin/nodesudoln -s/home/ubuntu/tools/ Node-v0. 12.10-LINUX-X86/BIN/NPM/USR/LOCAL/BIN/NPM

To see if the installation was successful

[Email protected]:~$ node-vv0. 12.10 [email protected]-vm:~$ NPM-v2.14. 9

Indicates that the installation was successful.

2.bower Installation

sudo Install bower-g

To see if the installation was successful

[Email protected]:~$ Bower-v1.7. 7

The installation was successful.

Ubuntu node, NPM, Bower easy installation

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.