How to fix the “‘node’ is not recognized as an internal or external command” error in Windows?

Sometimes, we want to fix the “’node’ is not recognized as an internal or external command” error in Windows.

In this article, we’ll look at how to fix the “’node’ is not recognized as an internal or external command” error in Windows.

How to fix the “’node’ is not recognized as an internal or external command” error in Windows?

To fix the “’node’ is not recognized as an internal or external command” error in Windows, we can add the Node.js executable path to the PATH environment variable.

To do this, we run

SET PATH=C:Program FilesNodejs;%PATH%

to add C:Program FilesNodejs directory to the PATH as another entry in the list of values.

Conclusion

To fix the “’node’ is not recognized as an internal or external command” error in Windows, we can add the Node.js executable path to the PATH environment variable.