mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
24 lines
405 B
Markdown
24 lines
405 B
Markdown
|
# n
|
||
|
|
||
|
> Tool to manage multiple node versions.
|
||
|
|
||
|
- 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}}`
|