Actually you are trying to perform command of ubuntu/mac on windows.

If you want to install NVM in windows then please refer this step by step guide.

Step by step guide

NVM For Windows

Answer from Dakshesh Baldaniya on Stack Overflow
🌐
GitHub
github.com › coreybutler › nvm-windows
GitHub - coreybutler/nvm-windows: A node.js version management utility for Windows. Ironically written in Go.
A node.js version management utility for Windows. Ironically written in Go. - coreybutler/nvm-windows
Starred by 44K users
Forked by 3.7K users
Languages   Go 72.3% | Inno Setup 25.9%
Discussions

Node Version Manager
To resolve your NVM issues on Windows, try reinstalling NVM and Node by uninstalling both, then reinstalling NVM for Windows and using it to install the desired Node.js versions. Ensure your environmental variables are correctly set, with paths pointing to the installed Node.js versions managed by NVM, and verify that NVM_HOME and NVM_SYMLINK are correctly configured. Open a new Command Prompt or PowerShell window, run nvm use [desired version], and check the Node.js version to confirm the correct version is active. Use sudo to avoid permission issues, and make sure you're using the latest version of NVM for Windows. More on reddit.com
🌐 r/learnprogramming
11
1
June 16, 2024
Should i use nvm-windows
Use nvm in WSL! More on reddit.com
🌐 r/node
17
7
May 30, 2025
Should I care about putting Windows on an nvme instead of a plain old SSD ? : buildapc
🌐 r/buildapc
Western Digital NVMe SSD users beware: Windows 11 24H2 is causing BSODs unless you tweak your registry : hardware
🌐 r/hardware
🌐
Nvmnode
nvmnode.com › guide › download.html
Download NVM For Windows, Linux, and macOS - NVM Documentation
The latest stable release of NVM for Windows can be downloaded from the official GitHub repository:
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
You will likely need to switch ... to install multiple versions of Node.js, but is only available for Mac/Linux and not supported on Windows....
🌐
GitHub
github.com › coreybutler › nvm-windows › releases
Releases · coreybutler/nvm-windows
A node.js version management utility for Windows. Ironically written in Go. - Releases · coreybutler/nvm-windows
Author   coreybutler
🌐
Refine
refine.dev › blog › install-nvm-mac-and-windows
How to Install and Use NVM? | Refine
July 5, 2024 - This NVM for Windows is the Microsoft/npm/Google recommended Node.js version manager for Windows.
Find elsewhere
🌐
OpenReplay
blog.openreplay.com › install-nvm-windows
How to Install NVM in Windows
February 8, 2025 - Node Version Manager (NVM) is a handy tool for managing multiple Node.js versions. While NVM was initially designed for Unix-based systems, a Windows-compatible version, nvm-windows, is available.
🌐
Damir's Corner
damirscorner.com › blog › posts › 20211126-UsingNvmOnWindows.html
Using nvm on Windows | Damir's Corner
November 26, 2021 - It's basically sudo for Windows. The syntax is a bit complicated, so I created a few functions in my PowerShell profile to make the command easier to use: Function Nvm-Use10 { Start-Process -Verb RunAs nvm -Args "use 10.24.1" } Function Nvm-Use12 { Start-Process -Verb RunAs nvm -Args "use 12.22.7" } Function Nvm-Use14 { Start-Process -Verb RunAs nvm -Args "use 14.18.1" } Function Nvm-Use16 { Start-Process -Verb RunAs nvm -Args "use 16.13.0" }
🌐
freeCodeCamp
freecodecamp.org › news › node-version-manager-nvm-install-guide
Node Version Manager – NVM Install Guide
September 9, 2022 - NVM is mostly supported on Linux and Mac. It doesn't have support for Windows.
🌐
GeeksforGeeks
geeksforgeeks.org › installation guide › how-to-install-and-use-nvm-on-windows
How to Install and Use NVM on Windows - GeeksforGeeks
July 23, 2025 - Learn how to install NVM (Node Version Manager) on Windows 7, 8.1, 10, and 11. Step-by-step guide for managing multiple Node.js versions, switching versions, and troubleshooting errors.
🌐
Radixweb
radixweb.com › blog › guide-to-install-nvm-on-windows-linux-and-mac
Guide to Install NVM (Node Version Manager) on Different OS
October 17, 2024 - Are you struggling to switch between different versions of Node? This user guide will help you install NVM on Windows, Linux, and Mac to switch Node environments easily.
🌐
Vinnie
vinnie.work › nvm on windows
NVM On Windows | Vinnie dot Work
When using nvm use on Windows, you have to be explicit about the version you want to use. On linux I can nvm use 12 where on Windows you must specify nvm use 12.22.7.
🌐
Reddit
reddit.com › r/learnprogramming › node version manager
r/learnprogramming on Reddit: Node Version Manager
June 16, 2024 -

Hello gang, I am having issues using Node version manager on windows. I have checked my environmental variables, manually added paths via my bash file, and i used the powershell, command prompt, and git bash. NVM commands work fine but node -v and npm -v will not work at all. Incredibly frustrating as i was in the middle of working on AWS services so this is incredibly counter productive. Any advice?

I should add that i was using the latest version of node up until today without any issues. An application or project i was working on necessitated an older version of Node.js. The Windows support article https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows explains in few details additional processes i could take to resolve the issue so i have been relying on information found on the web. I can send photos of my environmental variables although i am very cautious uploading any information regarding my local machine via a subreddit about programmers learning. Unfortunately not all humans live for the betterment of the human race. If anyone has dealt with this problem. let me know a resource i can delve into or how you resolved the issue.

🌐
4Geeks
4geeks.com › how-to › nvm-install-windows
How to install NVM on Windows
July 16, 2025 - Solution: 😎 This usually occurs because the NVM path has not been correctly added to the system's environment variables. You can manually add the NVM directory to your PATH by: Right-clicking on 'This PC' or 'My Computer'. Selecting 'Properties'. Clicking on 'Advanced system settings'. In the 'System Properties' window, click on 'Environment Variables'.
🌐
SourceForge
sourceforge.net › projects › nvm-for-windows.mirror
NVM for Windows download | SourceForge.net
NVM for Windows
Download NVM for Windows for free. A node.js version management utility for Windows written in Go. Manage multiple installations of node.js on a Windows computer. Similar (not identical) to nvm, but for Windows. Manage multiple installations of node.js on a Windows computer. Similar (not identical) to nvm, but for Windows. This has always been a node version manager, not an io.js manager, so there is no back-support for io.js. However, node 4+ is supported. Remember when running nvm install or nvm use, you must have Windows administrative rights (to create symlinks). There are situations where
Rating: 5 ​
🌐
XDA Developers
xda-developers.com › home › windows › windows guides › how to install and use nvm on windows
How to install and use NVM on Windows
November 27, 2024 - All you'll need to do is download and install the program, and then you can use it from within Windows Terminal or PowerShell. On your PC, head over to the NVM releases page on GitHub.
🌐
Reddit
reddit.com › r/node › should i use nvm-windows
r/node on Reddit: Should i use nvm-windows
May 30, 2025 -

I only recently started using nodejs. I installed it with an installer which i probably shouldn’t do and use version manager instead. Idk yet if i will work on different versions until the point i will do fresh windows install (in 2 months). If i don’t really need to switch node versions (idk yet) can i stay with my current installation? Which version manager should i use (nvm-windows seems to be recommended)? Is just running uninstaller enough to clean thing up enough for version manager or should i do manual cleanup or 3rdparty uninstaller(like revo), and if needed what folders should i delete. Also should i use LTS or latest in most cases(assuming i don’t really need newer features).

OS: windows 10 and i will move to windows 11 in few months

🌐
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
nvm-windows · If you are unable to use a Node version manager, you can use a Node installer to install both Node.js and npm on your system. Node.js installer · NodeSource installer · If you use Linux, we recommend that you use a NodeSource installer. If you're using macOS or Windows, use one of the installers from the Node.js download page.
🌐
RealWorldDev
realworlddev.hashnode.dev › installing-nvm-on-windows-11
How to Install NVM on Windows 11
March 2, 2022 - The NVM that Mac and Linux users love and use daily, wont work on Windows. End of story.