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%
Videos
09:09
How to Install and Use NVM (Node Version Manager) on Windows (NVM ...
06:02
how to install nvm in windows 11 - YouTube
How to install NVM on Windows 11 - YouTube
03:33
How to install nvm on windows - YouTube
01:37
HowTo Install nvm, node, npm and yarn on Windows 11 - YouTube
05:04
🔥Installer NVM sur Windows + Gérer Node.js Facilement (Changer ...
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 ·