n
Tool to manage multiple node versions. More information: https://github.com/tj/n.
-
Install a given version of node. If the version is already installed, it will be activated:
n {{version}}
-
Display installed versions and interactively activate one of them:
n
-
Remove a version:
n rm {{version}}
-
Execute a file with a given version:
n use {{version}} {{file.js}}
-
Output binary path for a version:
n bin {{version}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.