Windows 10 pro x64
I ran the following commands
npm install --global gulp-cli npm init
Then I changed directory to my project:
On MacOS Sierra v10.12.6, the following global install with sudo worked for me.
sudo npm install gulp -g