Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.pnpm.enable

Whether to enable pnpm user config.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.pnpm.package

The pnpm package to use.

Type: null or package

Default:

pkgs.pnpm

Declared by:

programs.pnpm.pnpmHome

The pnpm home directory. This sets PNPM_HOME, which controls the default locations of pnpm’s package store, globally installed packages, and global executables.

Type: string

Default:

if config.xdg.enable then
  "${config.xdg.dataHome}/pnpm"
else if pkgs.stdenv.hostPlatform.isDarwin then
  "${config.home.homeDirectory}/Library/pnpm"
else
  "${config.home.homeDirectory}/.local/share/pnpm"

Example:

${config.home.homeDirectory}/.pnpm

Declared by: