mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:26:01 +02:00
n: add page (#1319)
This commit is contained in:
parent
80bb512491
commit
a3a2206b6d
2 changed files with 46 additions and 0 deletions
23
pages/linux/n.md
Normal file
23
pages/linux/n.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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}}`
|
23
pages/osx/n.md
Normal file
23
pages/osx/n.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue