InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Node.js tutorials

  • Install node.js on Ubuntu Linux
  • Install node.js on Mac
  • npm tutorial
  • Debug javascript using node and Chrome
  • Find source file location of a module
  • Find version of installed package
  • How to use pm2 to manage node.js application in production
  • NestJS Quick start tutorial on Mac
  • NextJS Quick start tutorial on Mac
  • Fix cannot find module error
 
  • Home
  • > Tutorials
  • > Web Development
  • > Node.js

How to install node (node.js) on Mac

on Feb 25, 2016

Installing node on Mac require brew (Homebrew). If you have not installed it, you can follow Brew installation guide. Here are the steps to install node on Mac on command line.

  1. Install node

    $ brew install node
    
  2. In case you need to upgrade already installed node

    $ brew upgrade node
    
  3. Print info about installed package

    $ brew info node
    node: stable 5.5.0 (bottled), HEAD
    Platform built on the V8 JavaScript runtime to build network applications
    https://nodejs.org/
    ...
    ...
    
  4. List installed files

    $ brew list -v node
    
  5. Check the installation

    $ node --version
    v5.5.0
    $ npm --version
    3.5.3
    
  6. Self update npm to latest version as npm installed along with node may not be latest.

    $ npm update -g npm
    

Suggested posts:

  1. Mac brew – how to find latest available package without installing
  2. bower – installation and quick start guide
  3. How to use CasperJS to automate website testing
  4. How to prevent ssh session freezing due to timeout
  5. How to install phantomjs on Ubuntu Linux
  6. How to install phantomjs on Mac
  7. How to install casperjs on Mac
  8. Python re search vs match
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Brew, Linux/Unix Command Line, Mac, Node.js, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress