How to Manage Node Versions with n

November 22, 2019

n is an npm package by TJ Holowaychuk for Node version management. It's amazing.

To Install

npm install -g n

To Use

# Installs and uses node @ version XX.XX.XX

# Installs and uses node LTS (Long Term Support) version
n lts

# Check node version
node -v

Yep, it's that easy.