fnpm install
Install dependencies, choose a layout and keep CI installs frozen.
Basic usage
Adapted from Bun’s package-manager documentation, with fnpm’s command names and support boundary.
fnpm installfnpm install --ignore-scriptsfnpm install --frozen-lockfilefnpm install resolves the project’s declared dependencies, reuses the package store, links node_modules and writes fnpm.lock when saving is enabled. Without an fnpm lockfile it can migrate an existing supported lockfile. See lockfiles before switching package managers.
Dependency lifecycle scripts use fnpm’s trust policy. An install with --ignore-scripts skips script execution; it may leave native modules or generated artifacts unprepared.
Lockfile and CI modes
fnpm install --lockfile-onlyfnpm ci--lockfile-only updates the lockfile without a node_modules install. fnpm ci requests frozen lockfile behavior. Generate and validate the fnpm lock before using frozen mode in CI.
Offline installs
fnpm install --prefer-offlinefnpm install --offline--prefer-offline uses cached manifests when they exist. --offline makes no requests: every required package missing from the cache is reported (--offline: "<name>" is not in the cache) and the install fails. An optional dependency that is not cached is left out with everything only it needs.
Hoisted and isolated layouts
fnpm install --linker hoistedfnpm install --linker isolatedThe default is hoisted for a single package and isolated for workspaces. An isolated install uses node_modules/.fnpm; it does not reproduce pnpm’s on-disk store format. Changing layout changes dependency visibility, so rerun project checks after switching.
The store page explains physical sharing and the optional global virtual store.
Select workspaces and inspect output
fnpm install --filter '@acme/*'fnpm install --verbosefnpm install --jsonOutput starts with a fnpm install v<version> (<revision>) header, as Bun’s does. Peer dependencies that the installed tree does not satisfy are reported as incorrect peer dependency warnings. When a dependency fails, every failed dependency is listed before the install exits.
The CLI supports structured JSON on supported command results and plain output when piped. Use fnpm install --help for the complete current flag surface. Parsing a compatible npm/pnpm/Yarn flag spelling does not establish full behavioral equivalence with that package manager.