mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 14:59:43 +00:00
Update cheatsheets
This commit is contained in:
30
fnm
Normal file
30
fnm
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# fnm
|
||||
|
||||
> Fast Node.js version manager.
|
||||
> Install, uninstall or switch between Node.js versions.
|
||||
> More information: <https://github.com/Schniz/fnm>.
|
||||
|
||||
- Install a specific version of Node.js:
|
||||
|
||||
`fnm install {{node_version}}`
|
||||
|
||||
- List all available Node.js versions and highlight the default one:
|
||||
|
||||
`fnm list`
|
||||
|
||||
- Use a specific version of Node.js in the current shell:
|
||||
|
||||
`fnm use {{node_version}}`
|
||||
|
||||
- Set the default Node.js version:
|
||||
|
||||
`fnm default {{node_version}}`
|
||||
|
||||
- Uninstall a given Node.js version:
|
||||
|
||||
`fnm uninstall {{node_version}}`
|
||||
Reference in New Issue
Block a user