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:

For installation details, see the Github Repo. 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:

brew install fnm

After that, the following line of code must be added to the .zprofile file (or .zshrs file):

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: