Nvm: How to list all available node.js versions?

Created on 27 Nov 2011  Â·  15Comments  Â·  Source: nvm-sh/nvm

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

Most helpful comment

nvm ls-remote

All 15 comments

After updating the local cache of available node versions with nvm sync you can list all available versions with nvm ls

nvm sync was removed unfortunately.

Sorry - I hadn't pulled in a while and didn't realize that :-/

What happens with just nvm ls then? After updating, my system still lists all versions with those installed in blue.

_edit_

Ok, I'm just seeing the remnants left by the older version of nvm because once I uninstalled an older version of node it disappeared from the list.

Kinda strange to see this functionality removed...

@s0nspark Yeah I don't like that it was removed. I've been considering forking nvm lately, which @creationix encourages.

nvm ls-remote

Can you send me a copy of the post before you do so I can repost?

Or leave it so I can do it myself tomorrow?

--
Suleman

sent from mobile

On Oct 17, 2017 9:16 PM, "Jordan Harband" notifications@github.com wrote:

No prob. I'm going to delete these comments tho, to keep this issue clean.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/creationix/nvm/issues/84#issuecomment-337431396, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKsc2DVHHZvrw0RlnAAOmOJ-ExUBn17qks5stVFhgaJpZM4A61rp
.

@namelus sure:


Running version 1.1.6.

Usage:

nvm arch : Show if node is running in 32 or 64 bit mode.
nvm install [arch] : The version can be a node.js version or "latest" for the latest sta
ble version.
Optionally specify whether to install the 32 or 64 bit version (def
aults to system arch).
Set [arch] to "all" to install 32 AND 64 bit versions.
Add --insecure to the end of this command to bypass SSL validation
of the remote download server.
nvm list [available] : List the node.js installations. Type "available" at the end to see
what can be installed. Aliased as ls.
nvm on : Enable node.js version management.
nvm off : Disable node.js version management.
nvm proxy [url] : Set a proxy to use for downloads. Leave [url] blank to see the curr
ent proxy.
Set [url] to "none" to remove the proxy.
nvm node_mirror [url] : Set the node mirror. Defaults to https://nodejs.org/dist/. Leave [u
rl] blank to use default url.
nvm npm_mirror [url] : Set the npm mirror. Defaults to https://github.com/npm/npm/archive/
. Leave [url] blank to default url.
nvm uninstall : The version must be a specific version.
nvm use [version] [arch] : Switch to use the specified version. Optionally specify 32/64bit ar
chitecture.
nvm use will continue using the selected version, but switch
to 32/64 bit mode.
nvm root [path] : Set the directory where nvm should store different versions of node
.js.
If is not set, the current root will be displayed.
nvm version : Displays the current running version of nvm for Windows. Aliased as
v.

"nvm ls" or "nvm list"

@Ceyapps that only lists locally installed versions; https://github.com/creationix/nvm/issues/84#issuecomment-22962894 is the answer.

FYI nvm list available is the command for the version I'm running

@DanLatimer then you’re not using nvm - perhaps you’re using nvm-windows?

At latest update use nvm list available instead of nvm ls-remote

@nakorndev no, that’s never worked on nvm. Perhaps you mean nvm-windows, a different project?

@nakorndev no, that’s never worked on nvm. Perhaps you mean nvm-windows, a different project?

Oh I see. I use nvm-windows sorry for about wrong project.

Was this page helpful?
0 / 5 - 0 ratings