Not able to install @angular/cli using npm

Rajpurohit picture Rajpurohit · Dec 6, 2017 · Viewed 51.4k times · Source

I am new to "@angular/cli", I have tried every thing but could not install. I am tired now please some one can help me to install angular 4 "@angular/cli" in my system.

node and npm Version enter image description here

and when I am installing "npm install -g @angular/cli" then getting enter image description here

after installing node -v 6 I am getting below erorr enter image description here

please suggest me where actually I am wrong.

Answer

ga.breban picture ga.breban · Dec 13, 2017

My friend,

Please try: npm cache clean --force. Maybe your npm cache got confused.