Cheatsheet — nvm macOS

Yuvraj Patil
Jan 12, 2024

Installation

  1. Install latest LTS release of NodeJS
nvm install --lts

2. Install a specific node version

nvm install v16.20.1

3. Install the most stable node version from a version series

nvm install 16

List of Node Versions

  1. Get list of all locally available node versions
nvm ls

2. Get list of all remotely available node versions

nvm ls-remote

Miscellaneous

  1. Switch the node version and use it in all new terminals by default
nvm alias default 20.11.0 && nvm use default

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Yuvraj Patil
Yuvraj Patil

Written by Yuvraj Patil

Riding the dragon in realm of React Native. Website: https://.www.yuvrajpatil.com

No responses yet

Write a response