Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
After successfully installing Bower via npm, you also need to set the path either directly to it, or to the entire npm folder if the Bower executable is in the same place as npm, since your system (Windows) itself cannot guess this.
To do this, go to "System Properties / Advanced / Environment Variables", then in the "System Variables" section (do not confuse it with "Environment Variables for the user% User%") edit the path variable, adding the location of the executable file to it, separated by a comma Bower.
Personally, I have both npm and Bower in the same folder, so my variable contains only the path to it, it's something like "C:\Users\Stas\node.js\4.4.0\"
Simply put, find the bower.cmd file through the search and add the path to it (without the name of the file itself) to the specified system variable.
If you just installed NPM, then you just need to log in to the system or reboot. When installing a package globally, NPM creates an executable file of the new package
in its folder with binaries (where the environment variable looks after NPM installation ). PATH
That is, no magical gestures need to be done.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question