npm install error


(Captain Azhar) #1

when im trying to intall npm via powershell it showing me error as

[spoiler]npm : The term ‘npm’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm install
+ ~~~
** + CategoryInfo : ObjectNotFound: (npm:String) , CommandNotFoundException**
** + FullyQualifiedErrorId : CommandNotFoundException[/spoiler]**

how i can resolve it and can install npm .thanks for your intention


(Thomas Krügl) #2

Quote from https://www.npmjs.com/get-npm :

npm is installed with Node.js

npm is distributed with Node.js- which means that when you download Node.js, you automatically get npm installed on your computer.

Get the node.js download from https://nodejs.org/en/ :slight_smile:


(Captain Azhar) #3

thank you it work for me:smiling_face_with_three_hearts:


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.