[ ] Windows Server 2016
[ ] My Windows installation is non-English.
I tried to install with nvm install
, nvm install node
and nvm install latest
. I would expect one of these to install the latest version of Node.js. I would also expect nvm install 10
to install the latest 10.x.
Fixing nvm install node
would be in line with nvm even though it is a different thing - it is what mac/linux people use in place of nvm4w and having (mostly) identical commands will reduce confusion.
When I run nvm install node
, it says:
node.0.0
Node.js vnode.0.0 is only available in 32-bit.
When I run nvm install 10
it installs 10.0.0, which might not what one woud expect.
Try the commands mentioned.
I believe that I have the same request/issue/feature... I would really like to use nvm in my nightly build process which would download and install the latest node version as well as USE IT so based on my manual process the first command:
"nvm install latest"
seems to work fine currently getting node version 11.2.0...
However, in order for an eventual automated script to use the latest version it would be really handy to be able to use the command:
"nvm use latest"
It currently appears that nvm simply adds .0.0 to the "latest" parameter and attempts to use an invalid version number of "latest.0.0"...
Can the "nvm use" command be updated to allow for the keyword "latest" instead of a specific version number - to use the highest version currently available on the machine?
nvm use $(nvm ls) works in powershell
I have already created the following PRs:
However, they seem not to be merged.
nvm use $(nvm ls) works in powershell
Maybe so, but it's important to keep the syntax identical to the original nvm, when working together in one project with folks on a Mac or Linux. That way, there can be no confusion as to what commands to use on nvm.
Most helpful comment
I believe that I have the same request/issue/feature... I would really like to use nvm in my nightly build process which would download and install the latest node version as well as USE IT so based on my manual process the first command:
"nvm install latest"
seems to work fine currently getting node version 11.2.0...
However, in order for an eventual automated script to use the latest version it would be really handy to be able to use the command:
"nvm use latest"
It currently appears that nvm simply adds .0.0 to the "latest" parameter and attempts to use an invalid version number of "latest.0.0"...
Can the "nvm use" command be updated to allow for the keyword "latest" instead of a specific version number - to use the highest version currently available on the machine?