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 โ€บ 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.4K users
Forked by 9.7K users
Languages ย  Shell 98.0% | Makefile 1.2%
Discussions

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.com
๐ŸŒ r/qnap
11
3
February 7, 2019
How 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.com
๐ŸŒ r/node
2
0
September 20, 2019
Step-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
๐ŸŒ r/learnjavascript
3
0
September 14, 2020
Do you use nvm?
Seems useful, but I plan to stick with nvm for most day-to-day stuff. Why? Because if I'm switching versions in nvm it's probably because I'm going to use lots of commands, for a while (hours/days), that all need to use that version. Using npx for this would work best if you've got one or two things to do in that version. More on reddit.com
๐ŸŒ r/node
51
56
April 14, 2021
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ node-version-manager-nvm-install-guide
Node Version Manager โ€“ NVM Install Guide
September 9, 2022 - By Dillion Megida In this article, I'll explain how you can install NVM, or Node Version Manager, on Windows, Linux, and Mac. What is NVM? Node Version Manager (NVM), as the name implies, is a tool for managing Node versions on your device. Differen...
๐ŸŒ
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.
๐ŸŒ
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.
๐ŸŒ
Homebrew
formulae.brew.sh โ€บ formula โ€บ nvm
nvm โ€” Homebrew Formulae
brew install nvm ยท Manage multiple Node.js versions ยท https://github.com/nvm-sh/nvm ยท License: MIT ยท Formula JSON API: /api/formula/nvm.json ยท Formula code: nvm.rb on GitHub ยท Bottle (binary package) installation support provided.
Find elsewhere
๐ŸŒ
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
๐ŸŒ
Medium
medium.com โ€บ @sabirsafder โ€บ how-to-install-nvm-node-version-manager-on-windows-mac-os-46b367448103
How to install NVM (Node Version Manager) on Windows & Mac OS | by Sabir Hussain | Medium
September 3, 2024 - In the latest release (which as of the time of writing this is 1.1.9), youโ€™ll find different assets. Click on the nvm-setup.exe asset which is the installation file for the tool:
๐ŸŒ
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.
๐ŸŒ
PhoenixNAP
phoenixnap.com โ€บ home โ€บ kb โ€บ devops and development โ€บ how to install nvm on ubuntu
How to Install NVM on Ubuntu | phoenixNAP KB
April 24, 2025 - Node Version Manager (NVM) manages multiple Node.js versions, avoiding compatibility issues. Learn how to install NVM on Ubuntu.
๐ŸŒ
GitHub
github.com โ€บ coreybutler โ€บ nvm-windows
GitHub - coreybutler/nvm-windows: A node.js version management utility for Windows. Ironically written in Go.
The simplest (recommended) way to get NVM for Windows running properly is to uninstall any prior Node installation before installing NVM for Windows. It avoids all of the pitfalls listed below. However; you may not wish to nuke your Node installation if you've highly customized it.
Starred by 44K users
Forked by 3.7K users
Languages ย  Go 72.3% | Inno Setup 25.9%
๐ŸŒ
SitePoint
sitepoint.com โ€บ blog โ€บ javascript โ€บ installing multiple versions of node.js using nvm
Installing Multiple Versions of Node.js Using nvm โ€” SitePoint
March 3, 2025 - We introduce nvm, a handy command-line tool that allows you to install multiple versions of Node.js and switch between them with ease.
๐ŸŒ
DEV Community
dev.to โ€บ sanzhanov โ€บ node-version-manager-nvm-how-to-install-and-use-step-by-step-guide-k4a
Node Version Manager (NVM): how to install and use (step-by-step guide) - DEV Community
November 17, 2022 - Go to the NVM for Windows releases page and select the latest version (the top one in the list), for example, it is currently 1.1.10. Then download the nvm-setup.exe file: I assume that most of you already have Node.js installed at this point ...
๐ŸŒ
Linode
linode.com โ€บ docs โ€บ guides โ€บ how-to-install-use-node-version-manager-nvm
How to Install and Use NVM (Node Version Manager) | Linode Docs
November 29, 2023 - These instructions cover how to install NVM. While these are generally valid for most Linux distributions, some of the .bashrc directives might vary slightly on different shells. You can install and use NVM regardless of whether you have already installed Node.
๐ŸŒ
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.
๐ŸŒ
Codedamn
codedamn.com โ€บ news โ€บ node.js
How to install NVM โ€“ Node Version Manager
June 6, 2023 - In this blog post, we will discuss how to install and use NVM (Node Version Manager) on various operating systems. NVM is a handy tool that allows developers to switch between different Node.js versions quickly and easily. This is especially useful when working on multiple projects that require d...
๐ŸŒ
Webucator
webucator.com โ€บ catalog โ€บ web development โ€บ javascript
A Step-by-Step Guide to Installing nvm-windows for Node.js Management | Webucator
After installation, you might need to configure your system's environment variables, although the installer typically handles this. Ensure that the path to nvm-windows is added to your system's PATH environment variable.
๐ŸŒ
TecAdmin
tecadmin.net โ€บ how-to-install-nvm-on-ubuntu-20-04
How To Install NVM on Ubuntu 20.04 โ€“ TecAdmin
April 26, 2025 - Installing NVM (Node Version Manager) on Ubuntu 20.04 is easy. NVM lets you manage multiple versions of Node.js on your computer. This is helpful if you need to switch between different versions for different projects. In this guide, we will show you step-by-step how to install NVM on Ubuntu 20.04.