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
🌐
Nvmnode
nvmnode.com › guide › download.html
Download NVM For Windows, Linux, and macOS - NVM Documentation
Below is a list of available versions of NVM for Windows: The latest stable release of NVM for Windows can be downloaded from the official GitHub repository:
🌐
GitHub
github.com › coreybutler › nvm-windows
GitHub - coreybutler/nvm-windows: A node.js version management utility for Windows. Ironically written in Go.
Specify 32 or 64 to override the default architecture. nvm debug: Check the NVM4W process for known problems. ... nvm install <version> [arch]: The version can be a specific version, "latest" for the latest current version, or "lts" for the ...
Starred by 44.1K users
Forked by 3.7K users
Languages   Go 72.3% | Inno Setup 25.9%
🌐
GitHub
github.com › coreybutler › nvm-windows › releases
Releases · coreybutler/nvm-windows
Please see https://opensource.author.io/nvm-for-windows-v120 for an overview of the most important changes. chore: fix github issue template for older versions by @Nasfame in #1078
Author   coreybutler
🌐
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.
🌐
SourceForge
sourceforge.net › projects › nvm-for-windows.mirror
NVM for Windows download | SourceForge.net
NVM for Windows
Remember when running nvm install or nvm use, you must have Windows administrative rights (to create symlinks). There are situations where the ability to switch between different versions of Node.js can be very useful. For example, if you want to test a module you're developing with the latest ... 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 m
Rating: 5 ​
🌐
freeCodeCamp
freecodecamp.org › news › node-version-manager-nvm-install-guide
Node Version Manager – NVM Install Guide
September 9, 2022 - nvm-windows provides a management utility for managing Node.js versions in Windows. Here's how to install it: In the nvm-windows repository Readme, click on "Download Now!": This will open a page showing different NVM releases. In the latest release (which as of the time of writing this is 1.1.9), you'll find different assets.
🌐
SourceForge
sourceforge.net › home › open source software › system › storage › file managers › nvm for windows › files
NVM for Windows - Browse /1.1.12 at SourceForge.net
This is an exact mirror of the NVM for Windows project, hosted at https://github.com/coreybutler/nvm-windows. SourceForge is not affiliated with NVM for Windows. For more information, see the SourceForge Open Source Mirror Directory. Summary · Files · Reviews · Download Latest Version 1.2.2 ...
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 - 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.
🌐
Nvmnode
nvmnode.com
NVM - Node.js Version Manager tool - NVM Documentation
# 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
🌐
HeyNode
heynode.com › tutorial › install-nodejs-locally-nvm
Install Node.js Locally with Node Version Manager (nvm) | HeyNode
Windows users: The process for installing nvm on Windows is different than what’s shown below. If you’re using Windows check out this Windows-specific version of nvm. ... Using curl, or wget, download the installation script. In the URL below make sure you replace v0.35.0 with the latest version of nvm.
🌐
Author
opensource.author.io › nvm-for-windows-v120
NVM for Windows v1.2.0
January 1, 2025 - NVM for Windows v1.2.0 is the first in a series of “transition” releases designed to gently transition users to Author/Runtime. Of course, we’ve fixed bugs and completed general maintenance, but we’ve added a few early Author/Runtime ...
🌐
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
For example, to make nvm default to the latest 5.9 release, the latest LTS version, or the latest node version for the current directory: $ echo "5.9" > .nvmrc $ echo "lts/*" > .nvmrc # to default to the latest LTS version $ echo "node" > .nvmrc ...
Starred by 90.4K users
Forked by 9.7K users
Languages   Shell 98.0% | Makefile 1.2%
🌐
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 - You’ll be taken to a page containing different versions of nvm-windows. Step 2: Click on the latest version to download it. For now, it is the April 28, 2022 version.
🌐
Softonic
nvm.en.softonic.com › home › windows › development & it › development kits
Nvm - Download
November 4, 2025 - Nvm, free and safe download. Nvm latest version: Free node version manager for developers. Nvm is a free-to-use development tool for programmers and d
Rating: 9.1/10 ​ - ​ 17 votes
🌐
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 - nvm-windows provides a management utility for managing Node.js versions in Windows. Here's how to install it: In the nvm-windows repository Readme, click on “Download Now!”: ... This will open a page showing different NVM releases. In the latest release (which as of the time of writing this is 1.1.9), you’ll find different assets.
🌐
Chocolatey
community.chocolatey.org › packages › nvm
Chocolatey Software | NVM 1.2.2
Specify 32 or 64 to override the default architecture. ... nvm install ﹤version﹥ [arch]: The version can be a specific version, "latest" for the latest current version, or "lts" for the most recent LTS version.
🌐
OpenReplay
blog.openreplay.com › install-nvm-windows
How to Install NVM in Windows
Node Version Manager (NVM) is a handy tool for managing multiple Node.js versions. While NVM was initially designed for Unix-based systems, a Windows-compatible version, nvm-windows, is available.
🌐
Better Stack
betterstack.com › community › guides › scaling-nodejs › nvm-explained
A Beginner's Guide to NVM | Better Stack Community
Before you jump into using NVM, it helps to know why it makes your Node.js development life easier. Here’s what makes it so useful: Use multiple Node.js versions: Need Node.js 19 for one project and Node.js 22 for another?