Skip to content

Conversation

@beeequeue
Copy link
Owner

If a version is not specified for the use and install commands nvm-rust will look for and parse any files containing Node version specifications amd use that!

nvm-rust handles files containing ranges, unlike nvm.

e.g.

// package.json
{
  ...
  "engines": {
    "node": "^14.17"
  }
  ...
}

# Installs 14.19.3 as of the time of writing
$ nvm install

@beeequeue beeequeue added the enhancement New feature or request label Jul 4, 2022
@beeequeue beeequeue self-assigned this Jul 4, 2022
@beeequeue beeequeue force-pushed the optional-versions branch from 3f3ca3e to e22360f Compare July 4, 2022 14:29
@beeequeue beeequeue merged commit 5edc6cc into main Jul 4, 2022
@beeequeue beeequeue deleted the optional-versions branch July 4, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants