Issue Summary
In v2.0.1-hotfix.1, npm install -g <package> fails to trigger the automatic reshim process, making globally installed CLI tools (e.g., commitizen, @anthropic-ai/claude-code) uncallable.
Steps to Reproduce
- Run
npm install -g commitizen
- Attempt to run
cz --version
Actual Behavior
- Terminal reports the command is not recognized.
- No corresponding shim files are generated in the
.shim directory for the newly installed packages.
- Manually running
nvm reshim successfully resolves the issue and makes the command callable.
Expected Behavior
Global npm packages should be automatically shimmed and invocable immediately after installation.
Environment
- OS: Windows [11]
- nvm-windows version: v2.0.1-hotfix.1 (custom node path)
- Node.js version: [22.23.2]
Issue Summary
In
v2.0.1-hotfix.1,npm install -g <package>fails to trigger the automaticreshimprocess, making globally installed CLI tools (e.g.,commitizen,@anthropic-ai/claude-code) uncallable.Steps to Reproduce
npm install -g commitizencz --versionActual Behavior
.shimdirectory for the newly installed packages.nvm reshimsuccessfully resolves the issue and makes the command callable.Expected Behavior
Global npm packages should be automatically shimmed and invocable immediately after installation.
Environment