Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to switch node version by current directory? #151

Closed
tommyZZM opened this issue Dec 20, 2019 · 1 comment
Closed

Is it possible to switch node version by current directory? #151

tommyZZM opened this issue Dec 20, 2019 · 1 comment

Comments

@tommyZZM
Copy link

like this.

cd dirA
node -v 12.10.0
cd dirB
node -v 13.5.0
@tommyZZM tommyZZM changed the title Is it possible to switch node version by current directory Is it possible to switch node version by current directory? Dec 20, 2019
@jasongin
Copy link
Owner

Yes: https://github.com/jasongin/nvs/blob/master/doc/AUTO.md

nvs auto on hooks into the shell and detects a .node-version or .nvmrc file when you switch directories.

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

No branches or pull requests

2 participants