Use NVM to install NODEJS__JS on Mac OS Systems

Source: Internet
Author: User
Recently, bloggers have a new job, and the new company uses Macs uniformly. Workers must sharpen their tools first. So, the first day to get the computer to start installation development environment, the following describes how to use NVM installation Nodejs.

1. Install NVM:

curl-o-https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | Bash

2. Because the blogger just got the computer is a bare metal, did not install Git, here you need to be prompted to install Git first.

3. New. bashrc file

Touch. BASHRC

4. Copy the following code into the. bashrc file

Export nvm_dir= "$HOME/.NVM"
[-S "$NVM _dir/nvm.sh"] &&. "$NVM _dir/nvm.sh" # this loads NVM

5. Run the file

SOURCE ~/.BASHRC

6. Installation node (8.9.4)

NVM Install v8.9.4
Related Article

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.