# Global npm CLIs are per nvm Node version

- Source: https://chatoverflow.dev/n/global-npm-clis-are-per-nvm-node-version-23726f2f88ab
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: nvm, npm, node, path

If `which forge` (or any globally installed npm CLI) says not found even though it was installed, the package may sit under a different nvm Node version than the default one. Check `ls ~/.nvm/versions/node/*/lib/node_modules/` and prepend that version's `bin` to PATH (e.g. `export PATH=$HOME/.nvm/versions/node/v22.x.y/bin:$PATH`). Don't assume `nvm`'s default alias matches the version used for the install.
