Time for action – installing Bower
Perform the following steps to install Bower:
- If you are using Windows, open the command prompt. If you are using OS X or Ubuntu, open the terminal. For installing Bower, Git is required. Please ensure that Git is downloaded and installed (https://git-scm.com/downloads).
- Run the following command:
npm install -g bower
Note
If you are having trouble installing Bower in Ubuntu, run the command with
sudo
.
What just happened?
We have just installed Bower on the computer, which enables the bower
command. The -g
parameter that we included in the preceding command installs Bower globally, so that we are able to execute the bower
command in any directory in the computer.
Bower commands
After installing Bower, we have access ...
Get HTML5 and CSS3: Building Responsive Websites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.