fnm installs and switches Node.js runtimes on your machine from the shell. It ships as a single binary, starts quickly, and reads project pins from .node-version and .nvmrc files.
Overview
Fast Node Manager (fnm) is a command-line tool for installing multiple Node.js releases and selecting which one is active in a terminal session. It is implemented in Rust and distributed as one binary with fast startup.
It runs on macOS, Windows, and Linux. Install options include shell scripts, Homebrew, Winget, Scoop, Chocolatey, Cargo, and standalone release binaries. After installation you wire the shell by evaluating output from fnm env, with hooks for bash, zsh, fish, PowerShell, and limited cmd.exe support.
Project directories can pin a Node version using .node-version or .nvmrc. Configuration options document automatic switching when changing directories, shell completions, and custom install locations under XDG-style paths on Linux and application-support paths on macOS.
The tool exposes standard version-manager commands for listing, installing, and using Node builds, and integrates with common Windows terminal setups including Cmder startup scripts.
Key features
- Single-binary installation
- macOS, Windows, and Linux builds
- Reads .node-version and .nvmrc
- fnm env shell integration
- Shell completions shipped
- Optional automatic version on cd
- Homebrew and package manager installs
Use cases
- Per-project Node.js version switching
- Replacing slower version managers locally
- CI-friendly Node runtime selection
- Team alignment via checked-in version files