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 OverflowGitHub
github.com › coreybutler › nvm-windows
GitHub - coreybutler/nvm-windows: A node.js version management utility for Windows. Ironically written in Go.
For example, if you want to test ... way to get NVM for Windows running properly is to uninstall any prior Node installation before installing NVM for Windows....
Starred by 44K users
Forked by 3.7K users
Languages Go 72.3% | Inno Setup 25.9%
Install Windows 10 on m.2 NVME drive AMD AM4 Motherboard : buildapc
H570 Board can't detect NVME SSD, Windows install fails.
My BIOS can't detect the NVME drive if inserted in M2_1, sometimes will detect it if in M2_2. I try to install Windows to the drive and it will get partially through, fail, and then the Windows tool can no longer detect a drive in the system. Have to reboot the computer for the drive to show ... More on reddit.com
How do I install windows on nvme m.2 pcie?
Have you tried booting into the windows installation tool to see if it's listed in there? Try making that the only mass storage drive plugged in along with the USB tool and see if that helps.
More on reddit.comCan't install Windows 10 on new PC with NVMe M.2
Can you try a different USB drive to boot from? Not sure if it could be corrupted or something. The current Windows 10 ISO should have the drivers for that chipset.
More on reddit.comVideos
01:37
HowTo Install nvm, node, npm and yarn on Windows 11 - YouTube
06:02
how to install nvm in windows 11 - YouTube
09:09
How to Install and Use NVM (Node Version Manager) on Windows (NVM ...
05:04
🔥Installer NVM sur Windows + Gérer Node.js Facilement (Changer ...
How to install NVM on Windows 11 - YouTube
03:33
How to install nvm on windows - YouTube
GitHub
github.com › coreybutler › nvm-windows › releases
Releases · coreybutler/nvm-windows
If you do not have NVM for Windows installed Use the instructions in the README.
Author coreybutler
Webucator
webucator.com › catalog › web development › javascript
A Step-by-Step Guide to Installing nvm-windows for Node.js Management | Webucator
Once the installation is complete, restart your command prompt or terminal for the changes to take effect. To verify that nvm-windows is installed, open a new command prompt or terminal and type nvm version.
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
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
If you're running a system without prepackaged binary available, which means you're going to install node or io.js from its source code, you need to make sure your system has a C++ compiler. For OS X, Xcode will work, for Debian/Ubuntu based GNU/Linux, the build-essential and libssl-dev packages work. Note: nvm also supports Windows in some cases.
Starred by 90.3K users
Forked by 9.7K users
Languages Shell 98.0% | Makefile 1.2%
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 ·
4Geeks
4geeks.com › how-to › nvm-install-windows
How to install NVM on Windows
July 16, 2025 - To manage these requirements efficiently, we strongly recommend installing Node Version Manager (NVM) instead of directly installing Node.js. NVM allows you to switch between Node versions seamlessly, ensuring that each project has the right environment to run effectively. For those interested in optimizing their development setup further, we have an article detailing the best local development practices to help you avoid common issues in the future. 📝 This guide is for Windows users only, follow these links if you want to install NVM on MacOS or install NVM on linux.