2017-04-24 05:37:58 +01:00
|
|
|
# n
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Manage multiple node versions.
|
brightness, n, open, pbcopy, pbpaste, rename, route, rubocop, softwareupdate, timed, where, while, xed, xip: add link (#7831)
2022-03-01 13:21:17 +00:00
|
|
|
> More information: <https://github.com/tj/n>.
|
2017-04-24 05:37:58 +01:00
|
|
|
|
|
|
|
- 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}}`
|