---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# fnm

> Fast Node.js version manager.
> More information: <https://github.com/Schniz/fnm/blob/master/docs/commands.md>.

- Install a specific version of Node.js:

`fnm {{[i|install]}} {{node_version}}`

- Install Node.js LTS:

`fnm {{[i|install]}} --lts`

- List all available Node.js versions and highlight the default one:

`fnm {{[ls|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 {{[uni|uninstall]}} {{node_version}}`
