I've got a clean install of pnpm v8.8.0 on Windows 11. When I try to intall a global package I get:
ERR_PNPM_NO_GLOBAL_BIN_DIR Unable to find the global bin directory
I've tried pnpm setup --force. Nothing changes. I've looked at the pnpm install instructions, nothing. How can I start using pnpm?
I got this error when trying to update pnpm. For me, the issue was that I had installed pnpm with npm, which caused global directories to not be set up properly.
If you installed pnpm with npm, you also need to update with npm.
To update pnpm: npm i -g pnpm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With