Change example node version manager to match description of .node-version #968
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
nvm
does not support reading the.node-version
file, and without manually adding scripts or other packages does not support changing node version when change directory.fnm
does read the.node-version
file, runs on Windows too, and supports --use-on-cd so is a good match for the described benefits.For interest, I saw the
.node-version
mention in the README of actions created using this template. I keep an eye out for uses of.node-version
and will add this repo:https://github.com/shadowspawn/node-version-usage