Skip to content

Comments

claude/session-011CUZyEfSFXbr9VW645d48J#2

Merged
wardnath merged 1 commit intomainfrom
claude/session-011CUZyEfSFXbr9VW645d48J
Oct 28, 2025
Merged

claude/session-011CUZyEfSFXbr9VW645d48J#2
wardnath merged 1 commit intomainfrom
claude/session-011CUZyEfSFXbr9VW645d48J

Conversation

@wardnath
Copy link
Owner

Configure npm to use user-local directories similar to pnpm:

  • NPM_CONFIG_PREFIX: $HOME/.local/share/npm for global packages
  • NPM_CONFIG_CACHE: $HOME/.cache/npm for package cache
  • Add npm bin directory to PATH

This ensures npm global packages install to user-controlled locations without requiring elevated permissions.

🤖 Generated with Claude Code

Configure npm to use user-local directories similar to pnpm:
- NPM_CONFIG_PREFIX: $HOME/.local/share/npm for global packages
- NPM_CONFIG_CACHE: $HOME/.cache/npm for package cache
- Add npm bin directory to PATH

This ensures npm global packages install to user-controlled locations
without requiring elevated permissions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@wardnath wardnath merged commit 39ca335 into main Oct 28, 2025
1 check passed
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.

2 participants