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.
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%
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
Open PowerShell (recommend opening ... newest feature improvements, but more likely to have issues than the LTS version): nvm install latest...
🌐
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: ... After downloading NVM for Windows, proceed to the Windows installation guide for step-by-step instructions.
🌐
GitHub
github.com › coreybutler › nvm-windows › releases
Releases · coreybutler/nvm-windows
nvm install latest - installs the latest patch version of Node (instead of latest minor).
Author   coreybutler
🌐
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 - Step 1: Head over to the nvm-windows repository and click on Download Now!” · You’ll be taken to a page containing different versions of nvm-windows. Step 2: Click on the latest version to download it.
🌐
freeCodeCamp
freecodecamp.org › news › node-version-manager-nvm-install-guide
Node Version Manager – NVM Install Guide
September 9, 2022 - Before proceeding, I also recommend that you uninstall Node.js if you have it installed already so that you do not have any conflicts with Node.js and nvm. NVM is mostly supported on Linux and Mac. It doesn't have support for Windows.
🌐
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.
Find elsewhere
🌐
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 ​
🌐
Webucator
webucator.com › catalog › web development › javascript
A Step-by-Step Guide to Installing nvm-windows for Node.js Management | Webucator
Download the nvm-setup.exe file under the latest release. Run nvm-setup.exe file. This will launch the nvm-windows installer.
🌐
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
🌐
YouTube
youtube.com › watch
how to install nvm in windows 11 - YouTube
installing node js in windows 11 | how to download nodejs You will also learn: how to downgrade node version on windows how to update node js version in wind...
Published   December 9, 2024
🌐
Nvmnode
nvmnode.com › guide › installation.html
NVM Install - How to Install NVM on Windows - NVM Documentation
Download the nvm-setup.exe installer package. Before installation, uninstall any previously installed Node.js environment to avoid conflicts (skip this step if you haven't installed Node.js before).
🌐
LogRocket
blog.logrocket.com › home › how to install and use nvm
How to install and use NVM - LogRocket Blog
March 10, 2025 - Long Term Support (LTS) versions of Node.js are recommended for their extended support and reliability. To install the latest LTS version, use : nvm install lts/* # Unix nvm install --lts # Unix nvm install lts # Windows ( nvm-windows )
🌐
GitHub
github.com › nvm-sh › nvm
GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
$ echo "5.9" > .nvmrc $ echo "lts/*" > .nvmrc # to default to the latest LTS version $ echo "node" > .nvmrc # to default to the latest version · [NB these examples assume a POSIX-compliant shell version of echo. If you use a Windows cmd development environment, eg the .nvmrc file is used to configure a remote Linux deployment, then keep in mind the "s will be copied leading to an invalid file. Remove them.] ... Running nvm install will also switch over to the correct version, but if the correct node version isn't already installed, it will install it for you.
Starred by 90.4K users
Forked by 9.7K users
Languages   Shell 98.0% | Makefile 1.2%
🌐
HeyNode
heynode.com › tutorial › install-nodejs-locally-nvm
Install Node.js Locally with Node Version Manager (nvm) | HeyNode
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.
🌐
Reddit
reddit.com › r/learnprogramming › node version manager
r/learnprogramming on Reddit: Node Version Manager
June 16, 2024 -

Hello gang, I am having issues using Node version manager on windows. I have checked my environmental variables, manually added paths via my bash file, and i used the powershell, command prompt, and git bash. NVM commands work fine but node -v and npm -v will not work at all. Incredibly frustrating as i was in the middle of working on AWS services so this is incredibly counter productive. Any advice?

I should add that i was using the latest version of node up until today without any issues. An application or project i was working on necessitated an older version of Node.js. The Windows support article https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows explains in few details additional processes i could take to resolve the issue so i have been relying on information found on the web. I can send photos of my environmental variables although i am very cautious uploading any information regarding my local machine via a subreddit about programmers learning. Unfortunately not all humans live for the betterment of the human race. If anyone has dealt with this problem. let me know a resource i can delve into or how you resolved the issue.

🌐
OpenReplay
blog.openreplay.com › install-nvm-windows
How to Install NVM in Windows
No existing Node.js installation (uninstall if already installed). Visit the official nvm-windows GitHub page. Scroll to the latest release and download the nvm-setup.exe file.
🌐
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 - Officially, NVM isn't available for Windows 11 (or any Windows version), but there is an unofficial project called NVM for Windows which works just as well. If you're not sure how to use it, we're here to help. ... If you do any kind of work that involves JavaScript, you might want to use Node.js, and you can install it on Windows with these steps.