Questions tagged [nvm-windows]

NVM for Windows is the npm/Google/Microsoft recommended Node.js version manager for Windows. Questions relative to this utility should use the nvm-windows tag.

NVM for Windows is a utility for toggling between different versions of Node.js. It differs from nvm, which is similar (but different) tool for Linux. Only questions related to NVM for Windows should be tagged with nvm-windows.

40 questions
0
votes
0 answers

Windows 10 bash: nvm: command not found

I am trying to set up windows 10 so that I can be able to run multiple versions of node. I heard about nvm and downloaded it successfully. When I typed 'nvm' or 'nvm -v', I get the following error, bash: nvm: command not found.
OLA
  • 861
  • 2
  • 11
  • 23
0
votes
1 answer

How to update node to the latest minor version using nvm-windows?

In bash, I can use this command to update my current node version of nvm to the latest minor version: nvm install $(nvm current | sed -rn "s/v([[:digit:]]+).*/\1/p") --reinstall-packages-from=$(nvm current) How to do the same in Batch using…
Martin Braun
  • 10,906
  • 9
  • 64
  • 105
0
votes
0 answers

Update npm without npm

If I try to update my npm via npm update -g npm I'll get an error: npm ERR! Unexpected token '.' Since this is a known bug: https://github.com/npm/cli/issues/4234. How do I upgrade my npm without having to use npm itself? I am using Windows and nvm…
greg-e
  • 374
  • 4
  • 18
0
votes
0 answers

'nvm' is not recognized && npm install

I got home exam and I have 2 problems. (Windows) When I run nvm use 12.7 in Powershell, I get this message: nvm : The term 'nvm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,…
tom_
  • 1
0
votes
1 answer

npm works via command prompt but not git bash

I used node version manager for windows to install NodeJS by executing: nvm install 16.2.0 npm still wasn't working, so I ran nvm list available Which brought me to here: https://nodejs.org/download/release I copied the files from…
David
  • 5,877
  • 3
  • 23
  • 40
0
votes
0 answers

Is it safe to have two nodeJs version on the same machine in prod

In production, I have a bunch of services running an older Node.js version. I would need to install a new one using the latest LTS version. Is it safe to have both versions installed? The installer is asking for a path. This means that two versions…
Chris
  • 1,122
  • 1
  • 12
  • 14
0
votes
1 answer

Is there a way to install different node version using npm in windows?

Because of our company policies I cannot install nvm on my machine to have multiple node versions. Is there any npm package using which I can install and switch to different versions of node ?
0
votes
1 answer

Problem when installing nodejs with nvm windows

Installing nodejs with nvm windows did not create directory AppData/Roaming/npm. Is that the right behaviour? Because I got some error when I did npm run build.
0
votes
1 answer

"nvm use 10.14.0" caused "ng server" err

Everything fine when nvm use 8.14.0, once nvm use 10.14.0 or higher will get err. Windows 10, nvm 1.1.7
Jeb50
  • 6,272
  • 6
  • 49
  • 87
-1
votes
1 answer

How can i switch node versions automatically on windows?

I'm using two project (front and back) with different node versions i want to start both at the same time I'm using nvm-windows and of i switch version it switches node versions globally (nvm use [version]) I tried AVN and as i read it isn't…
1 2
3