mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
fnm: add page (#3320)
This commit is contained in:
parent
1041a29fdb
commit
05c8383a77
1 changed files with 25 additions and 0 deletions
25
pages/common/fnm.md
Normal file
25
pages/common/fnm.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# fnm
|
||||||
|
|
||||||
|
> Fast Node.js version manager.
|
||||||
|
> Install, uninstall or switch between Node.js versions.
|
||||||
|
> More info: <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 ls`
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue