Home > Mobile >  'npm' is not recognized as internal or external command, in windows 11
'npm' is not recognized as internal or external command, in windows 11

Time:12-02

when I'm typing commands which starts with npm, it shows the massage of , "'npm' is not recognized as internal or external command"

CodePudding user response:

Download node.js

First of all Download and install node.js from here Nodejs.org

In windows 11

There are two ways to do this

the short way is,

1. Go to settings

2. Now you are on System window, click About

3. Next, Click on Advanced system settings button

4. Then, Click Environment Variable on the dialogue box

5. From Environment Variable, Select Path

6. And then click Edit

7. click New

8. At the text box, add ; C:\Program Files\node.js\

9. Click Ok all the open dialogue box

Reference: Fix ~ npm not recognized as internal or external command (Note: this is my own blog[include images also)
  • Related