LinuxCommandLibrary

fnm

fast Node.js version manager written in Rust

TLDR

Install Node version

$ fnm install [18]
copy
Use specific version
$ fnm use [18]
copy
Set default version
$ fnm default [18]
copy
List installed versions
$ fnm list
copy
List remote versions
$ fnm list-remote
copy

SYNOPSIS

fnm command [options] [arguments]

DESCRIPTION

fnm (Fast Node Manager) is a Node.js version manager written in Rust. It provides quick installation and switching between Node.js versions with minimal overhead.
The tool reads .node-version or .nvmrc files for automatic version switching. Shell integration enables per-directory version selection without manual commands.
fnm emphasizes speed with Rust implementation and cross-platform support including Windows.

PARAMETERS

COMMAND

Operation: install, use, list, uninstall, default, etc.
install VERSION
Install Node.js version.
use VERSION
Switch to version.
default VERSION
Set default version.
list
List installed versions.
list-remote
List available versions.
uninstall VERSION
Remove version.
current
Show active version.
--help
Display help information.

CONFIGURATION

.node-version

Specifies Node.js version for the current directory.
.nvmrc
Alternative version file format compatible with nvm.

CAVEATS

Requires shell configuration for auto-switching. Not all nvm features supported. Separate from npm/pnpm.

HISTORY

fnm was created as a fast alternative to nvm, the original Node Version Manager. Written in Rust, it dramatically improves installation and switching speed over shell-based alternatives.

SEE ALSO

nvm(1), node(1), volta(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community