nvm-sh / nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`nvm list` does not show the current version of node installed

ThakurSaad opened this issue · comments

Operating system and version:

Windows 11

nvm debug output:

C:\Users\Thakur Saad>nvm debug
Thakur Saad is not using admin or elevated rights.

Command Prompt - nvm  debug
Windows Developer Mode: UNKNOWN (user cannot read registry)

NVM4W Version:      1.1.11
NVM4W Path:         C:\Users\Thakur Saad\AppData\Roaming\nvm\nvm.exe
NVM4W Settings:     C:\Users\Thakur Saad\AppData\Roaming\nvm\settings.txt
NVM_HOME:           C:\Users\Thakur Saad\AppData\Roaming\nvm
NVM_SYMLINK:        C:\Program Files\nodejs
Node Installations: C:\Users\Thakur Saad\AppData\Roaming\nvm

Active Node.js Version: v20.11.1

No problems detected.

nvm ls output:

18.16.0

How did you install nvm?

From the official github

What steps did you perform?

Performed nvm list

What happened?

showed 18.16.0

What did you expect to happen?

I have installed node v20.11.1 and deleted the previous version I was using, v18.16.0. But when I use nvm list command it does not show the currently installed v20.11.1 instead shows only 18.16.0.

Here is what happened in the terminal
image

That’s not real nvm, that’s nvm-windows, a different project.

@ljharb thanks for correcting