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.
tl;dr Similar (not identical) to nvm, but for Windows. Has an installer. Download Now!
Starred by 44K users
Forked by 3.7K users
Languages   Go 72.3% | Inno Setup 25.9%
🌐
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:
Discussions

How to install nvm in windows - Stack Overflow
I have already installed node but I need to downgrade versions and I was thinking on using nvm. I am trying to install nvm in windows with the following command on my cmd with admin rights: curl -o- More on stackoverflow.com
🌐 stackoverflow.com
Should i use nvm-windows
Use nvm in WSL! More on reddit.com
🌐 r/node
17
7
May 30, 2025
The next generation node version manager
Is it compatible with existing .nvmrc files? As in, if someone installed use-node but the project has a .nvmrc, could it read that version from there instead of package.json? More on reddit.com
🌐 r/node
19
41
December 8, 2022
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
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
Follow the install instructions on the nvm-windows repository. We recommend using the installer, but if you have a more advanced understanding of your needs, you may want to consider the manual installation. 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.
🌐
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 ​
🌐
GitHub
github.com › coreybutler › nvm-windows › releases
Releases · coreybutler/nvm-windows
NOTICE: If you downloaded this version before Dec 15, 2021 and are affected by issue #706, please re-download. This fix was not present in the initial binary and has since been corrected. Code signed release. Fix broken link to nodejs versions by @crhistianramirez in #679 · Fix readme links. by @veleek in #689 · docs: update address of china mirror by @hyj1991 in #692 · Use Windows defined env vars in all paths in README by @gdziadkiewicz in #699 · @crhistianramirez made their first contribution in #679 ... Added nvm-setup.exe after initial release to support winget efforts.
Author   coreybutler
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 - In this article, we will learn how to install NVM for Windows. Follow the below steps: Download the nvm-setup.zip from the assets table located over here.
🌐
YouTube
youtube.com › watch
How to Install and Use NVM (Node Version Manager) on Windows (NVM Windows) - YouTube
Easily switch between Node.js versions using NVM (Node Version Manager) on Windows!In this step-by-step guide, you’ll learn how to install and use NVM for Wi...
Published   July 14, 2025
🌐
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.
🌐
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
We strongly recommend using a Node version manager like nvm to install Node.js and npm. We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permissions errors when you run npm packages globally. Note: to download ...
🌐
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

🌐
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 - Installing NVM for Windows is pretty straightforward. All you'll need to do is download and install the program, and then you can use it from within Windows Terminal or PowerShell.
🌐
OpenReplay
blog.openreplay.com › install-nvm-windows
How to Install NVM in Windows
February 8, 2025 - Visit the official nvm-windows GitHub page. Scroll to the latest release and download the nvm-setup.exe file.
🌐
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 ·
🌐
DEV Community
dev.to › mesonu › how-to-install-nvmnode-version-manager-on-windows-2ij1
How to install NVM(Node Version Manager) on Windows - DEV Community
June 25, 2024 - Go to the nvm-windows repository README file and click on the Download Now button, Or you can click here to Download.
🌐
4Geeks
4geeks.com › how-to › nvm-install-windows
How to install NVM on Windows
July 16, 2025 - 🔥 Make sure to download the latest nvm-setup.zip file because it contains a very simple installation wizard. Go to your Downloads folder on Windows, and unzip nvm-setup.zip file and double click on nvm-setup.
🌐
RealWorldDev
realworlddev.hashnode.dev › installing-nvm-on-windows-11
How to Install NVM on Windows 11
March 2, 2022 - First of all, we need to grab a release of NVM Windows so we can install it. To do that, head to here, which is Corey's GitHub releases page to get the latest version, and download 'nvm-setup.zip'. After extracting the contents, you'll have this little beauty all ready to be run: