How to solve 'npm not recognized as internal or external command'

You have downloaded and installed npm and then, typed npm command but getting the error
"npm not recognized as internal or external command"
OR You want to know how to download and use npm? Then, you are at the right place! This short post will teach you the simple steps in order to successfully install and run npm. So, here are the steps.
First, download and install npm from hereChose Windows Installer(.msi). If you have tried npm command after installation, you will get this error "npm not recognized as internal or external command". In order to solve this problem, follow below steps:
  1. Go to MyComputer Properties.
  2. Click Advanced System Settings from the Left bar of Window.
  3. Now you have System Properties window. Click Advanced
  4. Then, Click Environment Variable... button
  5. Now you have Environment variable window: From User Variable, Select Path
  6. Click Edit
  7. Now in Variable Value, add the path of where you have installed npm. Like I have installed it in C drive (C:\Program Files\nodejs\). If you have installed in other drives then please act accordingly.
  8. OK all open dialogue
  9. Now the final step, Restart your computer.
  10. Congrats you have done, now you can use npm commands

A picture tells thousand words:
Npm not recognise as internal or external command solution
Steps to resolve "npm not recognized as internal or external command" error

Learn More: How to regularly auto Backup your MySQL Databases