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%
🌐
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
🌐
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.
Find elsewhere
🌐
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the npm command line interface using either a Node version manager or a Node installer. We strongly recommend using a Node version manager like nvm to install Node.js and npm.
🌐
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 ·
🌐
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.
🌐
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.
🌐
4Geeks
4geeks.com › how-to › nvm-install-windows
How to install NVM on Windows
July 16, 2025 - 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'.
🌐
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.