Node.js Usage

Usage

Start REPL.

1
node

Check current supported ES6 features.

1
node --v8-options | grep harmony

Version Management

n

Installation

1
brew install n

Usage

1
2
3
n               # Display downloaded Node.js versions and install selection
sudo n latest # Install the latest Node.js release (downloading if necessary)
sudo n lts # Install the latest LTS Node.js release (downloading if necessary)

Package Manager

npm-check-updates