Skip to content

fix: add PNPM_HOME/bin to PATH for pnpm v11#215

Closed
zkochan wants to merge 2 commits intomasterfrom
fix/add-pnpm-home-bin-to-path
Closed

fix: add PNPM_HOME/bin to PATH for pnpm v11#215
zkochan wants to merge 2 commits intomasterfrom
fix/add-pnpm-home-bin-to-path

Conversation

@zkochan
Copy link
Copy Markdown
Member

@zkochan zkochan commented Mar 21, 2026

Summary

  • pnpm v11 moved global binaries from PNPM_HOME to PNPM_HOME/bin
  • Add the new bin subdirectory to PATH so pnpm's global bin directory check passes
  • Also update patchPnpmEnv to include the new path when spawning pnpm commands
  • Backwards compatible — the extra PATH entry is harmless for older pnpm versions

Test plan

  • CI passes with pnpm v11 beta (pnpm runtime -g set no longer fails)
  • Verify older pnpm versions still work (extra PATH entry is a no-op)

🤖 Generated with Claude Code

zkochan and others added 2 commits March 21, 2026 13:45
pnpm v11 moved global binaries from PNPM_HOME to PNPM_HOME/bin.
Add the new bin subdirectory to PATH so that pnpm's global bin
directory check passes. This is backwards compatible — the extra
PATH entry is harmless for older pnpm versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@zkochan
Copy link
Copy Markdown
Member Author

zkochan commented Mar 30, 2026

This was fixed I believ

@zkochan zkochan closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant