mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 05:58:05 +00:00
Update cheatsheets
This commit is contained in:
29
n
Normal file
29
n
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user