π Automagically use the correct version of node with nvm
27
stars
216
commits
Python
primary language
Jul 14, 2026
updated

Automagically use the correct version of node with nvm exec functionality.
No more
nvm use
This will use existing .nvmrc file, falling back to the nvm alias default version if no config detected.
pip install nvshim
pip install git+git://github.com/iamogbz/nvshim.git
Reads all configuration from the environment.
NVM_DIRRelies on nvm being installed and configured correctly.
NVSHIM_AUTO_INSTALLSet to 1 or true to auto install specified version of node if not installed by nvm.
NVSHIM_VERBOSESet to 1 or true to show more information on the shimmed node process.
Otherwise set to 0 or false or nothing.
To allow the nvshim installed node shim work in all directories, you'll need to stop sourcing nvm.sh in your shell rc i.e. bash_profile, zshrc etc.
source /Users/me/.nvm/nvm.sh in your shell startup script. This is optional and prevents nvm from taking control of your shell path on launch.nvm shimmed, nvm use commands do not have any effect on the shell, the node version is already always gotten from the config automatically.The scope of this project only shims the node, npm, npx and nvm binaries. Any globally installed modules are not automatically shimmed.
npx eslint will alway run the version of eslint installed via the node version for the current shell.All forms of contribution welcome, please see guide.
make install
make tests a="--snapshot-update"
83 commits
79 commits
49 commits
4 commits
Python
90.4%
Makefile
7.7%
JavaScript
2.0%
π Automagically use the correct version of node with nvm
27
stars
216
commits
Python
primary language
Jul 14, 2026
updated

Automagically use the correct version of node with nvm exec functionality.
No more
nvm use
This will use existing .nvmrc file, falling back to the nvm alias default version if no config detected.
pip install nvshim
pip install git+git://github.com/iamogbz/nvshim.git
Reads all configuration from the environment.
NVM_DIRRelies on nvm being installed and configured correctly.
NVSHIM_AUTO_INSTALLSet to 1 or true to auto install specified version of node if not installed by nvm.
NVSHIM_VERBOSESet to 1 or true to show more information on the shimmed node process.
Otherwise set to 0 or false or nothing.
To allow the nvshim installed node shim work in all directories, you'll need to stop sourcing nvm.sh in your shell rc i.e. bash_profile, zshrc etc.
source /Users/me/.nvm/nvm.sh in your shell startup script. This is optional and prevents nvm from taking control of your shell path on launch.nvm shimmed, nvm use commands do not have any effect on the shell, the node version is already always gotten from the config automatically.The scope of this project only shims the node, npm, npx and nvm binaries. Any globally installed modules are not automatically shimmed.
npx eslint will alway run the version of eslint installed via the node version for the current shell.All forms of contribution welcome, please see guide.
make install
make tests a="--snapshot-update"
83 commits
79 commits
49 commits
4 commits
Python
90.4%
Makefile
7.7%
JavaScript
2.0%