nvs
nvs copied to clipboard
Standard .node-version file format under discussion?
Discussion in https://github.com/nodejs/version-management/issues/13
I hope nvs
will work with standard Node files since it is the only Node version manager I know of that is truly cross-platform.
P.S. Yes it is possible to use other version managers such as nvm
on Windows with the whole Bash thing, not sure if it would be really suitable for all users.
Yes, I'm monitoring that discussion.
nvs
already supports a .node-version
file containing a simple version. (It also supports aliases and other ways of specifying partial or full versions.)
If and when a consensus is reached, it should be easy to update nvs
to support it.
nvs already supports a .node-version file containing a simple version.
I see it now in README.md, thanks. Too bad this is not available in the Windows command prompt, suspecting this would not work in cmder. Maybe I can take a look at this one, someday:)
(It also supports aliases and other ways of specifying partial or full versions.)
Sounds nice!
The Windows command prompt just doesn't have any way to hook into directory changes, as far as I know. For Windows development, I'd strongly recommend learning and using PowerShell anyway.
Note nvs use
with no version will also try to get the version from a .node-version
file in the current or parent directory.