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
206
votes
6 answers

How to write a .nvmrc file which automatically change node version

Hi I have two projects one in angularjs 4.4.7 and another in angular 6 version. I need to switch between node version for this. I tried using NVM which is working manually. How to handle the version change inside the angularjs program to change the…
Janani Hariharan
  • 2,179
  • 2
  • 7
  • 9
67
votes
10 answers

Updating npm when using nvm-windows

I'm using nvm-windows version 1.1.7. I just installed node 11.9.0. nvm installs npm version 6.5.0 together with this node version. However, there's npm version 6.7.0 available already. When I now do npm i -g npm I get: npm ERR! path C:\Program…
Peter T.
  • 2,927
  • 5
  • 33
  • 40
44
votes
17 answers

'nvm' is not recognized as an internal or external command Windows

Installed NVM (Node version manager ) for windows from here. Actually NVM was getting installed in Administrator account. Thought to install it in C:\Node\ directory so it would be found in CMDfor user and set environment variable as mentioned here…
Dipak Telangre
  • 1,792
  • 4
  • 19
  • 46
10
votes
5 answers

nvm use exit status 1: Access is denied

I had installed nodejs before without nvm and then deleted it completely by uninstalling and deleting all files. I am using windows 10. It works when I use run powershell as administrator, but I am unable to use yarn in vscode. PS C:\Users\laveen>…
Laveen Ren
  • 245
  • 1
  • 3
  • 13
7
votes
5 answers

nvm-windows fails when the user profile path contains a space

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>nvm list 6.7.0 * 5.12.0 (Currently using 64-bit executable) C:\Windows\system32>nvm use 5.12.0 When I run this…
Md.Shahjalal
  • 393
  • 1
  • 6
  • 21
6
votes
3 answers

How to install nvm for windows 10 and set up for all users

Problem I need to install nvm for windows 10 and have it work for my admin profile and my non admin profile. When I do all my programming it's with my regular user account. But to install things / admin stuff, I have to provide an admin…
dot
  • 14,928
  • 41
  • 110
  • 218
4
votes
1 answer

npm 8.5.5: unexected token in @npmcli\arborist

after upgrading npm (via nvm) to 8.5.5 npm commands do not work anymore: e.g. npm --verbose ls webpack fails with: npm verb stack C:\Users\marti\AppData\Roaming\nvm\v16.15.0\node_modules\npm\node_modules\@npmcli\arborist:1 npm verb stack…
TmTron
  • 17,012
  • 10
  • 94
  • 142
4
votes
2 answers

Install multiple versions of Node.js on Windows without using NVM for Windows

I haven't been able to find any questions/answers regarding how to install two versions of Node.js (such as v10 and v14) on the same computer without using NVM. I can't use windows-nvm because it requires admin privileges, and I'm working on a…
4
votes
1 answer

npm install windows-build-tools failed this is probably harmless

$ set "PYTHON_MIRROR=http://npm.taobao.org/mirrors/python" && npm install --global --production windows-build-tools npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 >…
SpiritLing
  • 61
  • 1
  • 6
3
votes
1 answer

nvm windows installation of node getting stuck on "Extracting..."

I installed the latest nvm Windows cli tool; and when I try to run nvm install lts it shows "Downloading..." then "Extracting..." and freezes there. Never errors, but never moves on, either. If I kill the process and do nvm list, it lists 16.15.0.…
knighter
  • 1,137
  • 8
  • 13
3
votes
1 answer

What root should be used with Node Version Manager for Windows?

When I installed, it defaulted the root where it stores the different versions of Node as "C:\Documents and Settings(my name)\Application Data\nvm". I successfully installed version 0.12.4 through the command prompt, but now when I type "nvm use…
Cmaso
  • 1,095
  • 1
  • 10
  • 23
1
vote
1 answer

How can I install a command-line tool globally using npm, so that it remains accessible across different Node.js versions?

I am using nvm (Node Version Manager) to manage multiple versions of Node.js on my system and i would like to install a command-line tool globally so that it remains accessible even when I switch to a different Node.js version using the nvm use…
Flamingo
  • 322
  • 1
  • 11
1
vote
1 answer

I installed node through nvm-windows but the command 'node-v' does not exist

I installed node through nvm-windows but the command 'node-v' does not exist, I did command 'nvm use 18.12.1', That tips is “Now using node v18.12.1”. It means i had installed successed ? I expect node to install successfully.
bruce_lin
  • 11
  • 1
1
vote
0 answers

npm ERR! code EINTEGRITY when npm install

npm ERR! code EINTEGRITY npm ERR! sha512-KdCC7X8lzuKpwZqEZX4YQF9n7Dy00tPMWjV0p8ktwNjUIN5MOF+RWDzXUBBp/zJZyMreBxFwBfTwel0oCBzwNQ== integrity checksum failed when using sha512: wanted…
1
vote
0 answers

NVM and NodeJS support programs with standalone setup on Windows

This might be an odd problem, but I find it troubling since NVM is so much better solution than a standalone NodeJS installation which includes only one version of node. Since NodeJS no longer requires Python 2.7 to build native modules on Windows,…
Vladimir Jovanović
  • 3,288
  • 1
  • 20
  • 27
1
2 3