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 OverflowNvmnode
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%
Videos
06:02
how to install nvm in windows 11 - YouTube
03:33
How to install nvm on windows - YouTube
13:16
Install NVM on Windows (Node Version Manager) - YouTube
02:13
How to Install Node Version Manager in Windows 10 in 2024 - YouTube
09:09
How to Install and Use NVM (Node Version Manager) on Windows (NVM ...
10:29
Using NVM to Leverage Multiple Versions of NodeJS - YouTube
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
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
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 ...
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.
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%
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
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.
Top answer 1 of 10
90
This is a duplicate from my answer here: https://stackoverflow.com/a/50955293/491553
Here is how I upgrade npm when running nvm-windows:
cd %APPDATA%\nvm\v14.20.0 # or whatever node version you're using
move npm npm-old
move npm.cmd npm-old.cmd
move npx npx-old
move npx.cmd npx-old.cmd
cd node_modules\
move npm npm-old
cd npm-old\bin
node npm-cli.js i -g npm@latest --force
And boom, upgraded.
2 of 10
23
Several workarounds are available in this Issue on the nvm-windows github repo:
https://github.com/coreybutler/nvm-windows/issues/300
There are examples using DOS, PowerShell, bash, and batch scripts.