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

Fast and simple Node.js version manager. Version 1.39.0 via Homebrew; verified from local package data.

## 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','flow-launcher'

- 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
- **Package manager page:** <https://formulae.brew.sh/formula/fnm>
- **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>
- **Upstream docs:** <https://github.com/Schniz/fnm#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/Schniz/fnm/archive/refs/tags/v1.39.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- fnm (cli)
- fnm (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.39.0
- Local data: ok
- Upstream repository: https://github.com/Schniz/fnm
- Upstream latest detected: v1.39.0 (current)
- info: No package-manager update timestamp was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fnm
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 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.5: normalized package name match | openSUSE Tumbleweed package metadata: fnm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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.5: normalized package name match | openSUSE Tumbleweed package metadata: fnm-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for fnm | https://github.com/Schniz/fnm
- zypper - fnm-fish-completion - 1.38.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: fnm-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for fnm | https://github.com/Schniz/fnm
- zypper - fnm-zsh-completion - 1.38.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: fnm-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','flow-launcher'
- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [vfox](https://www.automicvault.com/pkg/brew/vfox/) - Shares av.db curated category or tags: cli, developer-tools, nodejs, version-management, version-manager.
- [proto](https://www.automicvault.com/pkg/brew/proto/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [rbenv](https://www.automicvault.com/pkg/brew/rbenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [swiftly](https://www.automicvault.com/pkg/brew/swiftly/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [tenv](https://www.automicvault.com/pkg/brew/tenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [tfenv](https://www.automicvault.com/pkg/brew/tfenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [tgenv](https://www.automicvault.com/pkg/brew/tgenv/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [uru](https://www.automicvault.com/pkg/brew/uru/) - Shares av.db curated category or tags: cli, developer-tools, version-management, version-manager.
- [nave](https://www.automicvault.com/pkg/brew/nave/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, manager, node.
- [ndenv](https://www.automicvault.com/pkg/brew/ndenv/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, management, manager.
- [node-build](https://www.automicvault.com/pkg/brew/node-build/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, management, manager.

## Combined YAML source

View the package source record on GitHub. [combined/fnm.yml](https://github.com/automic-vault/db/blob/main/combined/fnm.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
