Skip to main content

NVM Shim

LOGO

Automagically use the correct version of node with nvm exec functionality.

Build Status Coverage Status Pypi Stage Wheel Dependabot badge

No more nvm use

This will use existing .nvmrc file, falling back to the nvm alias default version if no config detected.

Installation

Pip

pip install nvshim

Github

pip install git+git://github.com/iamogbz/nvshim.git

Configuration

Reads all configuration from the environment.

NVM_DIR

Relies on nvm being installed and configured correctly.

NVSHIM_AUTO_INSTALL

Set to 1 or true to auto install specified version of node if not installed by nvm.

NVSHIM_VERBOSE

Set to 1 or true to show more information on the shimmed node process.

Otherwise set to 0 or false or nothing.

Caveats

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.

Just comment out the 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.

Contribution

All forms of contribution welcome, please see guide.

make install
make tests

Metadata

Release files for nvshim 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nvshim 1.1.2
File Size Uploaded Provenance Actions
nvshim-1.1.2.tar.gz 56.6 kB Without provenance Details for nvshim-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nvshim 1.1.2
File Interpreter ABI Platform Actions
nvshim-1.1.2-py3-none-any.whl Python 3 none any Details for nvshim-1.1.2-py3-none-any.whl

Total release size: 74.1 kB

Release files / nvshim-1.1.2.tar.gz

Download URL nvshim-1.1.2.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
77662f6751bd657429b79704a23f2855d6ac22165f618bbaca466a0aedfd72c4
BLAKE2b-256 checksum
How to use checksums
94c0aad82ffa98021b916074ecaece9ec43010d432bfd28acc9b1af813352484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

Release files / nvshim-1.1.2-py3-none-any.whl

Download URL nvshim-1.1.2-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcf0ec98820870c4f2bc68f5547fa497b55eb1a38a183b9ce274662bb711dcf9
BLAKE2b-256 checksum
How to use checksums
b420616efc6c0d00e4eba232a35947dc1d2a9302b2b045021780f81384160f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

Security for nvshim 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page