# Install fnm with Homebrew, apk, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget

Fast and simple Node.js version manager. Version 1.39.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#fnm.

## Install

```sh
sudo av install brew:fnm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fnm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fnm
```

  Evidence: MacPorts ports tree: devel/fnm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fnm
```

  Evidence: Alpine Linux edge package indexes: fnm from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#fnm
```

  Evidence: nixpkgs package indexes: pkgs/by-name/fn/fnm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S fnm
```

  Evidence: Arch Linux sync databases: fnm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fnm
```

  Evidence: openSUSE Tumbleweed package metadata: fnm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install fnm
```

  Evidence: Chocolatey community package catalog: fnm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','firacode'

- Scoop (92%):

```sh
scoop install main/fnm
```

  Evidence: Scoop official bucket manifest trees: bucket/fnm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Schniz.fnm -e
```

  Evidence: Windows Package Manager source index: Schniz.fnm from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:fnm
- **Package manager:** Homebrew
- **Version:** 1.39.0
- **Source summary:** Fast and simple Node.js version manager
- **Homepage:** <https://github.com/Schniz/fnm>
- **Repository:** <https://github.com/Schniz/fnm>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fnm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.39.0
## Project history and usage

fnm, short for Fast Node Manager, is a cross-platform Node.js version manager built in Rust. Its official README emphasizes speed, single-file installation, instant startup, and compatibility with `.node-version` and `.nvmrc` project files.

### Project history

The project occupies the same problem space as earlier Node version managers but frames its design around a small Rust binary and fast shell startup. Official documentation is split between the repository README and a dedicated `docs` directory covering commands and configuration.

### Adoption history

fnm has broad package-manager coverage. The supplied package metadata lists Homebrew, Alpine, Chocolatey, MacPorts, Nix, Arch, Scoop, WinGet, and openSUSE packaging, while the official README documents installation through Homebrew, WinGet, Scoop, Chocolatey, Cargo, release binaries, and an install script.

### How it is used

Typical fnm usage starts with installing the binary, evaluating `fnm env` in the user's shell, and letting fnm select Node versions from project files. The README documents shell setup for Bash, Zsh, Fish, PowerShell, and Windows Command Prompt, plus completions for common shells.

### Why package nerds care

fnm is significant to package-manager users because it is both a language runtime manager and a packaged CLI with native support across Unix and Windows package ecosystems. Its Rust implementation and project-file compatibility make it a common alternative to shell-heavy Node version managers.

### Timeline

- Current: Official README describes fnm as a fast and simple Node.js version manager built in Rust.
- Current: Official README documents Homebrew, WinGet, Scoop, Chocolatey, Cargo, release-binary, and install-script installation paths.
- Current: Supplied package metadata lists fnm across Homebrew, Alpine, Chocolatey, MacPorts, Nix, Arch, Scoop, WinGet, and openSUSE.

### Related projects

- fnm is related to Node.js and project version files such as `.node-version` and `.nvmrc`. It is also related to package-manager distribution channels including Homebrew, WinGet, Scoop, Chocolatey, Cargo, Nix, Arch, Alpine, MacPorts, and openSUSE.

### Sources

- <https://formulae.brew.sh/api/formula.json>
- <https://formulae.brew.sh/formula/fnm>
- <https://github.com/Schniz/fnm>
- <https://github.com/Schniz/fnm#readme>
- <https://github.com/Schniz/fnm/tree/master/docs>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./.node-version, ./.nvmrc, ./package.json
## Other Package-Manager Records

- Nix - fnm: normalized package name match | nixpkgs package indexes: pkgs/by-name/fn/fnm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - fnm - 1.39.0-r0: normalized package name match | Alpine Linux edge package indexes: fnm from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast and simple Node.js version manager, built in Rust | https://github.com/Schniz/fnm
- apk - fnm-bash-completion - 1.39.0-r0: normalized package name match | Alpine Linux edge package indexes: fnm-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for fnm | https://github.com/Schniz/fnm
- apk - fnm-fish-completion - 1.39.0-r0: normalized package name match | Alpine Linux edge package indexes: fnm-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for fnm | https://github.com/Schniz/fnm
- apk - fnm-zsh-completion - 1.39.0-r0: normalized package name match | Alpine Linux edge package indexes: fnm-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for fnm | https://github.com/Schniz/fnm
- pacman - fnm - 1.39.0-1: normalized package name match | Arch Linux sync databases: fnm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fast and simple Node.js version manager, built with Rust | https://github.com/Schniz/fnm
- zypper - fnm - 1.38.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: fnm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fast and simple Node.js version manager in Rust | https://github.com/Schniz/fnm
- zypper - fnm-bash-completion - 1.38.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: fnm-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for fnm | https://github.com/Schniz/fnm
- zypper - fnm-fish-completion - 1.38.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: fnm-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for fnm | https://github.com/Schniz/fnm
- zypper - fnm-zsh-completion - 1.38.1-1.7: normalized package name match | openSUSE Tumbleweed package metadata: fnm-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for fnm | https://github.com/Schniz/fnm
- MacPorts - fnm: normalized package name match | MacPorts ports tree: devel/fnm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - fnm: normalized package name match | Chocolatey community package catalog: fnm from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','firacode'
- Scoop - main/fnm: normalized package name match | Scoop official bucket manifest trees: bucket/fnm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Schniz.fnm: normalized package name match | Windows Package Manager source index: Schniz.fnm from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/fnm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fnm.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
