I am having huge problems trying to use bower (to install foundation 5) or get anything bower related to work on the command line.
I\'ve installed
If above solutions don't work. I think you should specify the absolute path to use the bower in command prompt. In my app folder, I just call
C:\Users\yourusername\AppData\Roaming\npm\bower.cmd install
This is content in my bower.cmd. It looks like my windows can't recognize the ~dp0 variable,
node "C:\Users\yourusername\AppData\Roaming\npm\node_modules\bower\bin\bower" %*
Uninstalled 64bit and Installing 32-bit version of nodejs along with git- 32bit worked!
1. Type in windows cmd:
for /f %a ('npm config get prefix') do setx path %a
2. Reload cmd
As others mentioned have to add bower into environment variables, but the easiest way to locate is just simply type in your npm location first, then use Browse File
and locate bower on your system(you can search for it in search bar as well), because the location may vary for different users.