Installing locally makes bower available to the current project (where it stores all of the node modules in node_modules
). This is usually only good for using a module like so var module = require('module');
It will not be available as a command that the shell can resolve until you install it globally npm install -g module
where npm will install it in a place where your path variable will resolve this command.
Edit: This documentation explains it pretty thorougly.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…