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

Should i use nvm-windows
Use nvm in WSL! More on reddit.com
🌐 r/node
17
7
May 30, 2025
Install Windows 10 on m.2 NVME drive AMD AM4 Motherboard : buildapc
🌐 r/buildapc
Western Digital NVMe SSD users beware: Windows 11 24H2 is causing BSODs unless you tweak your registry : hardware
🌐 r/hardware
NVMe disappearing after windows 10 crash. : buildapc
NVMe disappearing after windows 10 crash. (self.buildapc) ... Post a comment! ... Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2025 reddit inc. More on old.reddit.com
🌐 r/buildapc
🌐
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
🌐
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.
Find elsewhere
🌐
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.
🌐
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 ​
🌐
freeCodeCamp
freecodecamp.org › news › nvm-for-windows-how-to-download-and-install-node-version-manager-in-windows-10
NVM for Windows – How to Download and Install Node Version Manager in Windows 10
August 11, 2022 - How to Download and Install Node Version Manager in Windows 10 ... As I mentioned earlier, there’s no “NVM” for Windows, as NVM is only supported on Linux and Mac.
🌐
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

🌐
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.
🌐
DEV Community
dev.to › sanzhanov › node-version-manager-nvm-how-to-install-and-use-step-by-step-guide-k4a
Node Version Manager (NVM): how to install and use (step-by-step guide) - DEV Community
November 17, 2022 - To begin, open the terminal application on your computer. For Windows, I recommend using Git Bash due to some commands may not be available in Windows PowerShell. Ideally, use the built-in Windows Terminal, in which you need to add Git Bash. Let's make sure NVM is not already installed on your computer.
🌐
NodeSource
nodesource.com › blog › Update-nodejs-versions-on-windows
How to Update Node.js Versions on Windows
February 4, 2025 - Follow the installation wizard. It will detect and upgrade your existing Node.js installation. ... Ensure it displays the updated version. For developers who frequently switch between Node.js versions, nvm-windows (Node Version Manager for Windows) is a more flexible solution.
🌐
Efficient Coder
efficientcoder.net › nvm-windows
[3] Using NVM on Windows | EfficientCoder
September 14, 2022 - Two unofficial Windows alternatives are available: nvm-windows (available at https://github.com/coreybutler/nvm-windows)
🌐
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.
🌐
Microsoft
winget.run › pkg › CoreyButler › NVMforWindows
Download and install NVM for Windows with winget
winget install -e --id CoreyButler.NVMforWindows · A node.js version management utility for Windows. Ironically written in Go. managernodenodejsnvmnvm4wversionwindows ·
🌐
Node.js
nodejs.org › en › download
Node.js — Download Node.js®
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
🌐
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.