'"gulp" command not recognized after installation

I'm installing gulp following this method.

i install gulp using npm install --global gulp-cli. after installation is complete, I run gulp -v and this error appears:

enter image description here



Solution 1:[1]

Try installing gulp both locally inside the project and globally as well. Try below 2 commands

npm install gulp
npm install -g gulp

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kumar