@pnpm/config pnpm patch patch It should be possible to set a custom home directory for pnpm by changing the PNPM_HOME environment variable.