Latest ways to update to the latest version of Mac under Nodejs

Source: Internet
Author: User


Latest ways to update to the latest version of Mac under Nodejs
Pre-conditions
* NPM installed on Mac

Step One: Install the N module using NPM

n modules are specifically designed to manage the Nodejs version of the

sudo npm install -g n
    • 1

Tip: If you do not use sudo as a prefix, there is a good chance that a permission access exception will cause installation to fail

Step Two: Upgrade Nodejs

There are two ways to upgrade Nodejs:
The first is to upgrade to the latest version

sudo n latest
    • 1

The second is to upgrade to a stable version

sudo n stable

Latest ways to update to the latest version of Mac under Nodejs

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.