17

On my windows 10 I have NPM 5.5.1 & Node 8.9.2 installed.

When I run the the command "npm i -g npm 6.4.1" I get bellow error. How to upgrade npm to 6.4.1 from 5.5.1 ?

enter image description here

Zeus
  • 3,091
  • 6
  • 47
  • 60

1 Answers1

38

Better you try like this

npm install -g npm@6.4.1

Kick B
  • 23
  • 1
  • 10
Ratan Uday Kumar
  • 5,738
  • 6
  • 35
  • 54