This website collects cookies to deliver better user experience
'npm' is not recognized as internal or external command : Solution
'npm' is not recognized as internal or external command : Solution
Introduction
When you have installed node.js on your OS but unable to run the npm commands, this blog will tell you how to fix this issue.
Let's get to it!
You might have already installed Node.js from the official website. with your respective OS. If you've not installed, click here.
To make sure that you have node installed on your computer --
Go to your drive (C:) -> Program Files -> you should find the node folder.
Copy the folder path of node
Click on the node folder. To copy the path, you can click on the drop down symbol, then use Ctrl+C on the path OR right click on the path and then click copy address.
👇
Change settings
Go to Control Panel -> View advanced system settings
👇
In the Advanced tab -> click on Environment variables
Under System variables, click on Path and then click on edit as shown in the picture below emoji
Click on New
In the new text field appeared, paste the folder path that you copied earlier and then click on OK