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.
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%
Discussions

Install Windows 10 on m.2 NVME drive AMD AM4 Motherboard : buildapc
🌐 r/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
🌐 r/ASRock
10
1
October 31, 2020
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.com
🌐 r/gigabyte
8
3
May 23, 2020
Can'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.com
🌐 r/pcmasterrace
14
3
July 30, 2020
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
The installer will point you to the releases page for the most recent version. Download the nvm-setup.zip file for the most recent release. Once downloaded, open the zip file, then open the nvm-setup.exe file.
🌐
freeCodeCamp
freecodecamp.org › news › node-version-manager-nvm-install-guide
Node Version Manager – NVM Install Guide
September 9, 2022 - Before proceeding, I also recommend that you uninstall Node.js if you have it installed already so that you do not have any conflicts with Node.js and nvm. NVM is mostly supported on Linux and Mac. It doesn't have support for Windows.
🌐
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.
🌐
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
Find elsewhere
🌐
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.
🌐
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
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. Be sure to install the version labeled LTS.
🌐
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 ​
🌐
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.
🌐
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%
🌐
OpenReplay
blog.openreplay.com › install-nvm-windows
How to Install NVM in Windows
February 8, 2025 - A Windows machine running Windows 10 or higher. Administrator access to install programs. No existing Node.js installation (uninstall if already installed). Visit the official nvm-windows GitHub 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 ·
🌐
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.
🌐
RedwoodSDK
docs.redwoodjs.com › docs › how-to › using-nvm
Using nvm - RedwoodJS Docs
Local development mirrors production with Miniflare, which emulates the Cloudflare runtime. You get access to Durable Objects, D1 (database), R2 (blob storage), Queues, and more—right inside of the box. No installation required.
🌐
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.
🌐
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 - Choose nvm-setup.exe under Assets. Once downloaded, launch the setup file. If prompted by Windows, choose Yes. Accept the license agreement. Press Next to confirm the install path.
🌐
DEV Community
dev.to › skaytech › how-to-install-node-version-manager-nvm-for-windows-10-4nbi
How to install Node Version Manager (NVM) for Windows 10? - DEV Community
September 8, 2020 - FYI - the git shell isn't officially supported by NVM for Windows. Only terminal and powershell. I'm glad to know it works though. Additionally, I think you've confused installing npm for installing node. NVM4W installs Node, which includes npm.
🌐
Medium
medium.com › tryortho › how-to-install-nvm-9d820c856f88
HOW TO INSTALL NVM ON WINDOWS | by Fisayo Doris. | tryortho | Medium
February 1, 2024 - 1. Clear your terminal to create a clean slate. This ensures a smooth space for NVM installation. 2. Navigate to the NVM for Windows repository on github to download the nvm installer.