MyNixOS website logo

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

Declarations
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