UBUNTU14 installing node. js and NPM

Source: Internet
Author: User
Tags install node

Should be used for NPM so you want to install node. js on Ubuntu Server

However, using the Wegt command to download the latest version of the official website failed, prompting no files, I do not know why

Then download the Ubuntu-brought node. JS, but the version is too low

install nodejs-legacysudo apt install npm


Upgrade the Nodejs version, the official web solution

Note: If you is using Ubuntu precise or Debian Wheezy, you might want to read about running node. js >= 6.x on older distros.

| sudo -E bash -sudo apt-get install -y nodejs

Alternatively, for node. JS 8:

| sudo -E bash -sudo apt-get install -y nodejs

升级npm版本
npm install [email protected] -g


Finally, node is the latest version of 8.5.0. NPM is a 5-point version
Above

UBUNTU14 installing node. js and 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.