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
Matvey9mo 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
kamisama9mo 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
NotRoman9mo ago
Try using sudo
Matvey
Matvey9mo ago
yes, you need sudo to install globally
kamisama
kamisama9mo ago
should i uninstall first the one i installed using npm and npx?
Matvey
Matvey9mo ago
no
kamisama
kamisama9mo ago
Can i ask why not
Want results from more Discord servers?
Add your server
More Posts