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 › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
Eg: curl ... | NVM_DIR="path/to/nvm". Ensure that the NVM_DIR does not contain a trailing slash. The installer can use git, curl, or wget to download nvm, whichever is available.
Starred by 90.3K users
Forked by 9.7K users
Languages Shell 98.0% | Makefile 1.2%
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
How Can I Install The System on my NVMe SSD (third Party PCIe Adapter Card)
You'll have to buy a QNAP QM2 card. You can find them cheap online, new or used.
The only way to get it to work in a third party card is to first setup the system volume with the NVME installed in inboard slots, if your model supports it, then move the SSDs to the third party card.
More on reddit.comHow to install Node Version Manager (NVM) for Windows 10?
I think you are mixing up node and npm a lot.
nvm use <version> uses <version> of node, not npm for example.
Also if somebody doesn't know how to extract and install a zipped windows setup, maybe its too soon to use nvm or node on Windows?
More on reddit.comStep-by-Step User Guide to install NVM (Node Version Manager) on Windows 10
I tried nvm on Win10 some time back and it got really meesed up with just 2 versions. Packages installed with npm couldn't be accessed properly. Had to uninstall it completely and go back to using a single version of node. Nvm works almost flawless on Linux btw. More on reddit.com
Videos
06:02
how to install nvm in windows 11 - YouTube
09:09
How to Install and Use NVM (Node Version Manager) on Windows (NVM ...
12:04
How to Install and Use NVM (Node Version Manager) on Mac & Linux ...
05:12
How to install Node.js with NVM - YouTube
10:29
Using NVM to Leverage Multiple Versions of NodeJS - YouTube
09:09
How to Install and Use NVM (Node Version Manager) on ...
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
Besides choosing whether to install on Windows or WSL, there are additional choices to make when installing Node.js. We recommend using a version manager as versions change very quickly. You will likely need to switch between multiple Node.js versions based on the needs of different projects you're working on. Node Version Manager, more commonly called nvm, is the most popular way to install multiple versions of Node.js, but is only available for Mac/Linux and not supported on Windows.
Nvmnode
nvmnode.com
NVM - Node.js Version Manager tool - NVM Documentation
Whether you need to test your application across different Node.js versions or work on projects with specific version requirements, NVM makes it simple to switch between environments. Avoid version conflicts between different projects · Test compatibility across multiple Node.js versions ... # Install a specific Node.js version nvm install 18.16.0 # Use the installed version nvm use 18.16.0 # Set a default version nvm alias default 18.16.0
npm
docs.npmjs.com › downloading-and-installing-node-js-and-npm
Downloading and installing Node.js and npm | npm Docs
August 18, 2025 - 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.
Noroff
content.noroff.dev › node › installing-nvm.html
Installing NVM | Noroff Front-end Development
Close and reopen your terminal and check that the installation was successful by using the command: ... The best way to manage packages such as nvm on Windows is to install the Windows Subsystem for Linux (WSL) and follow the Unix installation instructions.
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-node-js-on-ubuntu-20-04
How to Install Node.js on Ubuntu | DigitalOcean
May 2, 2025 - This will get you the most recent version of the installation script. Before piping the command through to bash, it is always a good idea to audit the script to make sure it isn’t doing anything you don’t agree with. You can do that by removing the | bash segment at the end of the curl command: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
MonoVM
monovm.com › 🐧 linux 🐧 › how to install nvm on ubuntu: step-by-step guide
How to Install NVM on Ubuntu: Step-by-Step Guide
February 13, 2024 - Node.js, an integral part of server-side JavaScript, thrives on its adaptability. However, efficiently juggling various Node.js versions becomes paramount for developers. Enter Node Version Manager (NVM), a powerful tool designed explicitly for Ubuntu users. This comprehensive guide helps you learn how to install NVM on Ubuntu.