Skip to content

pnpm ​

Tips and Tricks ​

​

Cheatsheet ​

pnpm store too much space ​

sh
 pnpm store prune
 ENOENT  ENOENT: no such file or directory, mkdir '/home/u-portfolio/.pnpm-store'

# Issue with pnpm store path https://stackoverflow.com/a/72149101
# Docs https://pnpm.io/npmrc#store-dir

# Manually change store path
 pnpm set store-dir "/home/xxxxx/.local/share/pnpm/store"

npx with pnpm ​

See Stack Overflow