Updating npm

Timothy Gu's Avatar

Timothy Gu

23 Jan, 2015 01:20 AM

Hi, I am trying to update npm in my builds. I already have npm update -g, but apparently that is not enough according to the npm documentation.

The documentation lists three plausible ways to achieve that, but as I am not 100% sure about the environment on AppVeyor and how exactly Install-Product node works, I'd like to ask here first.


  1. Support Staff 1 Posted by Feodor Fitsner on 23 Jan, 2015 02:05 AM

    Feodor Fitsner's Avatar

    Look at that: http://www.appveyor.com/docs/lang/nodejs-iojs#locking-errors

    Installing NPM 2.0 is basically two lines:

    npm -g install npm@2
    set PATH=%APPDATA%\npm;%PATH%
  2. 2 Posted by Timothy Gu on 10 Feb, 2015 11:31 PM

    Timothy Gu's Avatar

    OK, thank you so much!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac