gloriaJun / til

Lessoned Learned
3 stars 0 forks source link

Node version management #15

Open gloriaJun opened 5 years ago

gloriaJun commented 5 years ago

Installing/Activating Node Versions

$ n 4.9.1
$ n 10
$ n v8.11.3
$ n

  node/4.9.1
ο node/8.11.3
  node/10.15.0

Install the latest official release:

n latest

Removing Versions

# Remove some cached versions:
n rm 0.9.4 v0.10.0

# Removing all cached versions except the current version:
n prune

Reference

gloriaJun commented 5 years ago

Similar another tool: https://github.com/nvm-sh/nvm