Configuring the node. JS Environment under Mac (Mac 10.12)

Source: Internet
Author: User
Tags install node

There is installation on the uninstall, uninstall Tutorial reference: http://www.cnblogs.com/EasonJim/p/6287141.html

First, the official Download pkg installation package 1, installation

To the official website https://nodejs.org/en/download

Simply double-click to run.

2. Update

Download the latest installation package directly from the official website and install it all the way to the next step.

Reference: Http://stackoverflow.com/questions/11284634/upgrade-nodejs-to-the-latest-version-on-mac-os

Second, use the Brew Package Manager for installation 1, installation

Prerequisite, install Package Manager Brew First, refer to: http://www.cnblogs.com/EasonJim/p/6287098.html

After you have the above premise, enter:

Brew Install node

After the installation is successful, verify and enter:

Node-vnpm-v

2. Update
Run brew updatebrew upgrade NODENPM install-g NPM separately// One run Brew update && Brew upgrade node && NPM install-g NPM

If an error occurs while running Brew update, refer to: http://www.cnblogs.com/EasonJim/p/6287283.html

Reference: Http://stackoverflow.com/questions/11284634/upgrade-nodejs-to-the-latest-version-on-mac-os

Configuring the node. JS Environment under Mac (Mac 10.12)

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.