2019-10-10 09:12:15 +01:00
|
|
|
# fnm
|
|
|
|
|
|
|
|
> Fast Node.js version manager.
|
|
|
|
> Install, uninstall or switch between Node.js versions.
|
2020-12-29 11:46:54 +00:00
|
|
|
> More information: <https://github.com/Schniz/fnm>.
|
2019-10-10 09:12:15 +01:00
|
|
|
|
|
|
|
- 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}}`
|