So I have npm and installed gulp globally. gulp.cmd is available under %Appdata%/npm and it had added the NODE_PATH user variable.
When I type in gulp in my command prompt, it returns 'gulp' is not recognized as an internal or external command. But it is! It is in %Appdata%/npm.
Why is that? I've checked and the links are valid and I can execute gulp like so %node_path%/gulp
gulpis not in yourPATH. – DavidPostill Jan 22 '16 at 13:36echo %path%will show you what is in your path. Is%Appdata%/npmin that list? Is%node_path%/gulpin that list? – DavidPostill Jan 22 '16 at 13:43%Appdata%/npmis the value ofNODE_PATH, the user variable. I might want to rephrase the question to: Can command prompt run programs in user variable paths. – Daniel Cheung Jan 22 '16 at 13:46%Appdata%/npmor%node_path%to the PATH **as explained in the dupe question – DavidPostill Jan 22 '16 at 13:53