can anyone help me to install pnpm on debian

im using debian bookwork and bot npm and npx install result in error. can anyone help me
7 Replies
Matvey
Matvey14mo ago
try automatic script
curl -fsSL https://get.pnpm.io/install.sh | sh -
curl -fsSL https://get.pnpm.io/install.sh | sh -
also, what error are you getting?
kamisama
kamisama14mo ago
ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory when installed using npx error: EACCES: permission denied, mkdir '/usr/lib/node_modules/pnpm' when using npm @ronanru
NotRoman
NotRoman14mo ago
Try using sudo
Matvey
Matvey14mo ago
yes, you need sudo to install globally
kamisama
kamisama14mo ago
should i uninstall first the one i installed using npm and npx?
Matvey
Matvey14mo ago
no
kamisama
kamisama14mo ago
Can i ask why not
Want results from more Discord servers?
Add your server