---
title: 'Fast Node Manager (fnm)'
url: 'https://gerfficient.com/en/home/fast-node-manager'
markdown: 'https://gerfficient.com/en/home/fast-node-manager.md'
lang: en
date: '2025-04-07'
description: 'You can manage different versions of Node.js locally with the Node Version Manager (nvm). However, the Fast Node Manager (fnm) offers some advantages: Cross-platform support (i.e. for macOS, Windows, Linux) Easy installation Fast execution speed Works with .node-version and .nvmrc files For insta…'
---

# Fast Node Manager (fnm)

###  07. Apr. 2025 

You can manage different versions of `Node.js` locally with the Node Version Manager (`nvm`). However, the Fast Node Manager (`fnm`) offers some advantages:

- Cross-platform support (i.e. for macOS, Windows, Linux)
- Easy installation
- Fast execution speed
- Works with `.node-version` and `.nvmrc` files

For installation details, see the [Github Repo](https://github.com/Schniz/fnm). Below I summarize the steps needed to install `fnm` for macOS.

### Installation

Installation using Homebrew is the easiest. You only need to install one package:

```bash
brew install fnm
```

After that, the following line of code needs to be added to the `.zprofile` file (or `.zshrc` file):

```bash
eval "$(fnm env --use-on-cd --shell zsh)"
```

If *oh my zsh* is instalöed, you can also add a file (e.g. `fnm_init.zsh`) into the folder `~/.oh-my-zsh/custom/` containing:

```bash
# Initialite fnm environment
eval "$(fnm env --use-on-cd --shell zsh)"
```

Now the terminal environment has to be restarted and `fnm` is ready to use!

### Usage

The following are probably the most important or most frequently used commands:

- `fnm list-remote`: Returns a list of all available versions of Node.js
- `fnm list`: Returns a list of all installed versions of Node.js
- `fnm install xxx`: Installs the version of Node.js specified by xxx
- `fnm use xxx`: Changes the used version of Node.js
- `fnm env`: Outputs the required environment variables for `fnm`
- `fnm default xxx`: Sets `xxx` as the default version
- `fnm current`: Outputs the current version
- `fnm uninstall xxx`: Deletes the version of Node.js specified by `xxx`

---

## Navigation

- Parent: [Home](https://gerfficient.com/en/index.md)
- Previous: [React in 2025](https://gerfficient.com/en/home/react-in-2025.md)
- Next: [Der Einstieg in ComfyUI](https://gerfficient.com/en/home/comfyui-101.md)
