List all available node.js versions? #85

ghost opened this Issue Nov 27, 2011 · 16 comments


None yet

ghost commented Nov 27, 2011

Is there a way to list all available node.js versions?

If not, could that be added?

nevir commented Nov 27, 2011

Take a look at ac9a528 for a historical perspective, but there's no easy and consistent way for nvm to really know what versions are available.

Your best bet is to take a look at

Edit: The changes in that commit might be more about determining what the latest stable/unstable releases are - maybe it's not out of the realm of possibility to have a quick command that spews out

curl -s -o - | grep 'v[0-9].*' | sed -e 's/.*node-//' -e 's/\.tar\.gz.*//' -e 's/<[^>]*>//' -e 's/\/<[^>]*>.*//'

Edit 2: Also see #74


ghost commented Nov 27, 2011

I don't get why this isn't a good thing to have. Otherwise it's like npm redirecting users to to find out what packages you can "npm install" instead of having a convenient way to just "npm search". Having to switch between browser and command prompt gives a bad user experience.

One way is to have the latest node.js repo inside nvm repo (submodule). In that way it can check what is the latest with "git tag -n". And to update nvm you just do "nvm update" and it will pull the latest changes from the node.js repo. Also in this way you don't have to download the node.js repo every time a user install a new version, just pull the delta changes with git.


  • Fast install, no need to download node.js repo for each version installation
  • Lookup all node.js versions
  • Good for servers without a browser
  • Simple for users

torgeir commented Jan 15, 2012


This should definitely be in there


ghost commented Jan 26, 2012

This one lists them all:


+1, this would be quite handy...

+1, bump

update nvm version and use nvm ls-remote


5long commented Mar 22, 2013

Now that we have nvm ls-remote, I think this issue could be closed together with #84.

@ljharb ljharb closed this Aug 20, 2013

ls-remote doesn't seem to work in windows 10


ljharb commented Feb 9, 2016

@jrgleason nvm doesn't work in windows at all. are you perhaps using nvm-windows, a different project?

felquis commented Dec 7, 2016

I tested in OSX, Arch Linux and it works just fine.

nvm ls
You'll get something like this

->       v8.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment