-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Closed
Labels
bugsOh no, something's broken :-(Oh no, something's broken :-(feature requestsI want a new feature in nvm!I want a new feature in nvm!installing nodeIssues with installing node/io.js versions.Issues with installing node/io.js versions.
Description
Hello all the wonderful contributors of nvm! Thank you for all of your excellent work.
Recently @ljharb added the feature of being able to automatically use lts/<something>
as an alias, e.g. nvm use lts/argon
. This is really really cool, but as part of the discussion there was some talk about having travis support these kinds of aliases within a .travis.yml
, e.g.:
node:
- lts/argon
- stable
As far as I know, travis just runs nvm install <yml.node[n]>
. I think the coolest way to support this feature would be for nvm install
to fall back to local aliases if ls-remote
returns N/A, in other words:
Actual
$ nvm install lts/argon
Version 'lts/argon' not found - try `nvm ls-remote` to browse available versions.
Desired
$ nvm install lts/argon
Remote version 'lts/argon' found, falling back to local aliases
lts/argon -> 4.5
Downloading https://nodejs.org/dist/v4.5.0/node-v4.5.0-darwin-x64.tar.xz...
######################################################################## 100.0%
Now using node v4.5.0 (npm v2.15.9)
Metadata
Metadata
Assignees
Labels
bugsOh no, something's broken :-(Oh no, something's broken :-(feature requestsI want a new feature in nvm!I want a new feature in nvm!installing nodeIssues with installing node/io.js versions.Issues with installing node/io.js versions.