mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-06 08:17:58 +03:00
c8f956319f
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
25 lines
444 B
Markdown
25 lines
444 B
Markdown
# n
|
|
|
|
> 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}}`
|