Home Node version manager
Post
Cancel

Node version manager

Node version managers

nvs vs nvm

  • nvm is the main and most popular version manager
  • nvs is more suitable for Windows

nvm

Installation

1
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

Usage

1
2
3
4
5
6
nvm install node
nvm install 6.14.4
nvm use 6.14.4
nvm ls
nvm ls-remote
nvm uninstall 6.14.4

nvs

Installation

1
curl -o- https://raw.githubusercontent.com/jasongin/nvs/master/nvs.sh | bash

Usage

```bash nvs add lts nvs add 6.14.4 nvs use 6.14.4

Clearing npx cache

To clear the npx cache goto C:\Users\USERNAME\AppData\Local\npm-cache_npx

There you’ll find a list of packages that you can delete

This post is licensed under CC BY 4.0 by the author.
Contents