How to Install bower with Example via Command Line

Posted on

This is an article for specifically describe how to install bower with an example and it is done by executing command in the command line. In order to install bower below are steps which is needed to be done early :

1. Install npm (node package manager). To check whether npm has already installed, just type the following command in the command line or bash prompt :

user@hostname:/var/www/html$ npm

Usage: npm 

where  is one of:
    access, add-user, adduser, apihelp, author, bin, bugs, c,
    cache, completion, config, ddp, dedupe, deprecate, dist-tag,
    dist-tags, docs, edit, explore, faq, find, find-dupes, get,
    help, help-search, home, i, info, init, install,
    install-test, issues, it, la, link, list, ll, ln, login,
    logout, ls, outdated, owner, pack, ping, prefix, prune,
    publish, r, rb, rebuild, remove, repo, restart, rm, root,
    run-script, s, se, search, set, show, shrinkwrap, star,
    stars, start, stop, t, tag, team, test, tst, un, uninstall,
    unlink, unpublish, unstar, up, update, upgrade, v, verison,
    version, view, whoami

npm  -h     quick help on 
npm -l           display full usage info
npm faq          commonly asked questions
npm help   search for help on 
npm help npm     involved overview

Specify configs in the ini-formatted file:
    /home/user/.npmrc
or on the command line via: npm  --key value
Config info can be viewed via: npm help config

npm@3.5.2 /usr/share/npm
user@hostname:/var/www/html$ 

2. Install bower.

Install bower can be executed by typing the following command in the command line. It can be done using the help of npm as shown below :

npm install -g bower

Below is an example of the output presented after executing the above command where it is actually executed inside the root folder of a web-based application and in the context of this article, it is Laravel web-application framework :

root@hostname:/var/www/html/laravel# npm install -g bower
npm WARN deprecated bower@1.8.0: ..psst! While Bower is maintained, we recommend Yarn and Webpack for *new* front-end projects! Yarn's advantage is security and reliability, and Webpack's is support for both CommonJS and AMD projects. Currently there's no migration path, but please help to create it: https://github.com/bower/bower/issues/2467
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
- abbrev@1.0.7 node_modules/bower/node_modules/abbrev
- archy@1.0.0 node_modules/bower/node_modules/archy
- graceful-fs@2.0.3 node_modules/bower/node_modules/bower-config/node_modules/graceful-fs
- mout@0.9.1 node_modules/bower/node_modules/bower-config/node_modules/mout
- minimist@0.0.10 node_modules/bower/node_modules/bower-config/node_modules/optimist/node_modules/minimist
- wordwrap@0.0.3 node_modules/bower/node_modules/bower-config/node_modules/optimist/node_modules/wordwrap
- optimist@0.6.1 node_modules/bower/node_modules/bower-config/node_modules/optimist
- osenv@0.0.3 node_modules/bower/node_modules/bower-config/node_modules/osenv
- bower-config@0.6.1 node_modules/bower/node_modules/bower-config
- bower-endpoint-parser@0.2.2 node_modules/bower/node_modules/bower-endpoint-parser
- deep-extend@0.2.11 node_modules/bower/node_modules/bower-json/node_modules/deep-extend
- graceful-fs@2.0.3 node_modules/bower/node_modules/bower-json/node_modules/graceful-fs
- intersect@0.0.3 node_modules/bower/node_modules/bower-json/node_modules/intersect
- bower-json@0.4.0 node_modules/bower/node_modules/bower-json
- bower-logger@0.2.2 node_modules/bower/node_modules/bower-logger
- async@0.2.10 node_modules/bower/node_modules/bower-registry-client/node_modules/async
- graceful-fs@2.0.3 node_modules/bower/node_modules/bower-registry-client/node_modules/graceful-fs
- lru-cache@2.3.1 node_modules/bower/node_modules/bower-registry-client/node_modules/lru-cache
- mkdirp@0.3.5 node_modules/bower/node_modules/bower-registry-client/node_modules/mkdirp
- aws-sign2@0.5.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/aws-sign2
- core-util-is@1.0.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
- string_decoder@0.10.31 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
- readable-stream@1.0.33 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl/node_modules/readable-stream
- bl@0.9.4 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/bl
- caseless@0.8.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/caseless
- delayed-stream@0.0.5 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
- combined-stream@0.0.7 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/combined-stream
- forever-agent@0.5.2 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/forever-agent
- async@0.9.2 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/form-data/node_modules/async
- mime-db@1.12.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/form-data/node_modules/mime-types/node_modules/mime-db
- mime-types@2.0.14 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/form-data/node_modules/mime-types
- form-data@0.2.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/form-data
- hoek@0.9.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/hawk/node_modules/hoek
- boom@0.4.2 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/hawk/node_modules/boom
- cryptiles@0.2.2 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/hawk/node_modules/cryptiles
- sntp@0.2.4 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/hawk/node_modules/sntp
- hawk@1.1.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/hawk
- asn1@0.1.11 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/http-signature/node_modules/asn1
- assert-plus@0.1.5 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/http-signature/node_modules/assert-plus
- ctype@0.5.3 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/http-signature/node_modules/ctype
- http-signature@0.10.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/http-signature
- json-stringify-safe@5.0.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/json-stringify-safe
- mime-types@1.0.2 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/mime-types
- node-uuid@1.4.3 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/node-uuid
- oauth-sign@0.5.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/oauth-sign
- qs@2.3.3 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/qs
- stringstream@0.0.4 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/stringstream
- tough-cookie@2.2.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/tough-cookie
- tunnel-agent@0.4.1 node_modules/bower/node_modules/bower-registry-client/node_modules/request/node_modules/tunnel-agent
- request@2.51.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request
- rimraf@2.2.8 node_modules/bower/node_modules/bower-registry-client/node_modules/rimraf
- ansicolors@0.2.1 node_modules/bower/node_modules/cardinal/node_modules/ansicolors
- esprima@1.0.4 node_modules/bower/node_modules/cardinal/node_modules/redeyed/node_modules/esprima
- redeyed@0.4.4 node_modules/bower/node_modules/cardinal/node_modules/redeyed
- cardinal@0.4.4 node_modules/bower/node_modules/cardinal
- ansi-styles@2.1.0 node_modules/bower/node_modules/chalk/node_modules/ansi-styles
- escape-string-regexp@1.0.3 node_modules/bower/node_modules/chalk/node_modules/escape-string-regexp
- ansi-regex@2.0.0 node_modules/bower/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex
- has-ansi@2.0.0 node_modules/bower/node_modules/chalk/node_modules/has-ansi
- ansi-regex@2.0.0 node_modules/bower/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex
- strip-ansi@3.0.0 node_modules/bower/node_modules/chalk/node_modules/strip-ansi
- supports-color@2.0.0 node_modules/bower/node_modules/chalk/node_modules/supports-color
- chalk@1.1.1 node_modules/bower/node_modules/chalk
- chmodr@0.1.0 node_modules/bower/node_modules/chmodr
- lodash@3.10.1 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash
- sprintf-js@1.0.3 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/sprintf-js
- argparse@1.0.2 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse
- esprima@2.6.0 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/esprima
- js-yaml@3.4.3 node_modules/bower/node_modules/configstore/node_modules/js-yaml
- object-assign@2.1.1 node_modules/bower/node_modules/configstore/node_modules/object-assign
- os-homedir@1.0.1 node_modules/bower/node_modules/configstore/node_modules/osenv/node_modules/os-homedir
- os-tmpdir@1.0.1 node_modules/bower/node_modules/configstore/node_modules/osenv/node_modules/os-tmpdir
- osenv@0.1.3 node_modules/bower/node_modules/configstore/node_modules/osenv
- uuid@2.0.1 node_modules/bower/node_modules/configstore/node_modules/uuid
- buffers@0.1.1 node_modules/bower/node_modules/decompress-zip/node_modules/binary/node_modules/buffers
- traverse@0.3.9 node_modules/bower/node_modules/decompress-zip/node_modules/binary/node_modules/chainsaw/node_modules/traverse
- chainsaw@0.1.0 node_modules/bower/node_modules/decompress-zip/node_modules/binary/node_modules/chainsaw
- binary@0.3.0 node_modules/bower/node_modules/decompress-zip/node_modules/binary
- mkpath@0.1.0 node_modules/bower/node_modules/decompress-zip/node_modules/mkpath
- core-util-is@1.0.1 node_modules/bower/node_modules/decompress-zip/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/decompress-zip/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/decompress-zip/node_modules/readable-stream/node_modules/isarray
- string_decoder@0.10.31 node_modules/bower/node_modules/decompress-zip/node_modules/readable-stream/node_modules/string_decoder
- readable-stream@1.1.13 node_modules/bower/node_modules/decompress-zip/node_modules/readable-stream
- nopt@1.0.10 node_modules/bower/node_modules/decompress-zip/node_modules/touch/node_modules/nopt
- touch@0.0.3 node_modules/bower/node_modules/decompress-zip/node_modules/touch
- inherits@2.0.1 node_modules/bower/node_modules/fstream-ignore/node_modules/inherits
- balanced-match@0.2.0 node_modules/bower/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/bower/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.1 node_modules/bower/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion
- minimatch@2.0.10 node_modules/bower/node_modules/fstream-ignore/node_modules/minimatch
- graceful-fs@4.1.2 node_modules/bower/node_modules/fstream/node_modules/graceful-fs
- inherits@2.0.1 node_modules/bower/node_modules/fstream/node_modules/inherits
- mime@1.3.4 node_modules/bower/node_modules/github/node_modules/mime
- github@0.2.4 node_modules/bower/node_modules/github
- wrappy@1.0.1 node_modules/bower/node_modules/glob/node_modules/inflight/node_modules/wrappy
- inherits@2.0.1 node_modules/bower/node_modules/glob/node_modules/inherits
- balanced-match@0.2.0 node_modules/bower/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/bower/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.1 node_modules/bower/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@2.0.10 node_modules/bower/node_modules/glob/node_modules/minimatch
- wrappy@1.0.1 node_modules/bower/node_modules/glob/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/glob/node_modules/once
- inflight@1.0.4 node_modules/bower/node_modules/glob/node_modules/inflight
- glob@4.5.3 node_modules/bower/node_modules/glob
- graceful-fs@3.0.8 node_modules/bower/node_modules/graceful-fs
- wordwrap@0.0.3 node_modules/bower/node_modules/handlebars/node_modules/optimist/node_modules/wordwrap
- optimist@0.3.7 node_modules/bower/node_modules/handlebars/node_modules/optimist
- async@0.2.10 node_modules/bower/node_modules/handlebars/node_modules/uglify-js/node_modules/async
- amdefine@1.0.0 node_modules/bower/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map/node_modules/amdefine
- source-map@0.1.43 node_modules/bower/node_modules/handlebars/node_modules/uglify-js/node_modules/source-map
- uglify-js@2.3.6 node_modules/bower/node_modules/handlebars/node_modules/uglify-js
- handlebars@2.0.0 node_modules/bower/node_modules/handlebars
- ansi-regex@1.1.1 node_modules/bower/node_modules/inquirer/node_modules/ansi-regex
- ansi-styles@1.1.0 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/ansi-styles
- escape-string-regexp@1.0.3 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/escape-string-regexp
- ansi-regex@0.2.1 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex
- has-ansi@0.1.0 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/has-ansi
- ansi-regex@0.2.1 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex
- strip-ansi@0.3.0 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/strip-ansi
- supports-color@0.2.0 node_modules/bower/node_modules/inquirer/node_modules/chalk/node_modules/supports-color
- chalk@0.5.1 node_modules/bower/node_modules/inquirer/node_modules/chalk
- es6-symbol@3.0.0 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/node_modules/es6-symbol
- es5-ext@0.10.8 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext
- d@0.1.1 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/d
- es6-iterator@2.0.0 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/node_modules/es6-iterator
- es6-symbol@2.0.1 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/es6-weak-map/node_modules/es6-symbol
- es6-iterator@0.1.3 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/es6-weak-map/node_modules/es6-iterator
- es6-weak-map@0.1.4 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/es6-weak-map
- event-emitter@0.3.4 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/event-emitter
- lru-queue@0.1.0 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/lru-queue
- next-tick@0.2.2 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee/node_modules/next-tick
- next-tick@0.2.2 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/timers-ext/node_modules/next-tick
- timers-ext@0.1.0 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/timers-ext
- memoizee@0.3.9 node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/memoizee
- cli-color@0.3.3 node_modules/bower/node_modules/inquirer/node_modules/cli-color
- figures@1.4.0 node_modules/bower/node_modules/inquirer/node_modules/figures
- lodash@2.4.2 node_modules/bower/node_modules/inquirer/node_modules/lodash
- mute-stream@0.0.4 node_modules/bower/node_modules/inquirer/node_modules/mute-stream
- strip-ansi@2.0.1 node_modules/bower/node_modules/inquirer/node_modules/readline2/node_modules/strip-ansi
- readline2@0.1.1 node_modules/bower/node_modules/inquirer/node_modules/readline2
- rx@2.5.3 node_modules/bower/node_modules/inquirer/node_modules/rx
- through@2.3.8 node_modules/bower/node_modules/inquirer/node_modules/through
- inquirer@0.8.0 node_modules/bower/node_modules/inquirer
- async@1.4.2 node_modules/bower/node_modules/insight/node_modules/async
- graceful-fs@4.1.2 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/graceful-fs
- object-assign@3.0.0 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/object-assign
- os-tmpdir@1.0.1 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/os-tmpdir
- os-homedir@1.0.1 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/osenv/node_modules/os-homedir
- osenv@0.1.3 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/osenv
- uuid@2.0.1 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/uuid
- slide@1.1.6 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/write-file-atomic/node_modules/slide
- write-file-atomic@1.1.3 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/write-file-atomic
- os-homedir@1.0.1 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/xdg-basedir/node_modules/os-homedir
- xdg-basedir@2.0.0 node_modules/bower/node_modules/insight/node_modules/configstore/node_modules/xdg-basedir
- ansi-escapes@1.1.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/ansi-escapes
- ansi-regex@2.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/ansi-regex
- exit-hook@1.1.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-cursor/node_modules/restore-cursor/node_modules/exit-hook
- onetime@1.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-cursor/node_modules/restore-cursor/node_modules/onetime
- restore-cursor@1.0.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-cursor/node_modules/restore-cursor
- cli-cursor@1.0.2 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-cursor
- cli-width@1.0.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/cli-width
- figures@1.4.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/figures
- lodash@3.10.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/lodash
- number-is-nan@1.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2/node_modules/code-point-at/node_modules/number-is-nan
- code-point-at@1.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2/node_modules/code-point-at
- number-is-nan@1.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2/node_modules/is-fullwidth-code-point
- mute-stream@0.0.5 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2/node_modules/mute-stream
- readline2@1.0.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/readline2
- wrappy@1.0.1 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/run-async/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/run-async/node_modules/once
- run-async@0.1.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/run-async
- rx-lite@3.1.2 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx-lite
- strip-ansi@3.0.0 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/strip-ansi
- through@2.3.8 node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/through
- inquirer@0.10.1 node_modules/bower/node_modules/insight/node_modules/inquirer
- lodash._getnative@3.9.1 node_modules/bower/node_modules/insight/node_modules/lodash.debounce/node_modules/lodash._getnative
- lodash.debounce@3.1.1 node_modules/bower/node_modules/insight/node_modules/lodash.debounce
- object-assign@4.0.1 node_modules/bower/node_modules/insight/node_modules/object-assign
- minimist@1.2.0 node_modules/bower/node_modules/insight/node_modules/os-name/node_modules/osx-release/node_modules/minimist
- osx-release@1.1.0 node_modules/bower/node_modules/insight/node_modules/os-name/node_modules/osx-release
- semver@5.0.3 node_modules/bower/node_modules/insight/node_modules/os-name/node_modules/win-release/node_modules/semver
- win-release@1.1.1 node_modules/bower/node_modules/insight/node_modules/os-name/node_modules/win-release
- os-name@1.0.3 node_modules/bower/node_modules/insight/node_modules/os-name
- tough-cookie@2.2.0 node_modules/bower/node_modules/insight/node_modules/tough-cookie
- is-root@1.0.0 node_modules/bower/node_modules/is-root
- junk@1.0.2 node_modules/bower/node_modules/junk
- lockfile@1.0.1 node_modules/bower/node_modules/lockfile
- lru-cache@2.7.0 node_modules/bower/node_modules/lru-cache
- md5-o-matic@0.1.1 node_modules/bower/node_modules/md5-hex/node_modules/md5-o-matic
- md5-hex@1.1.0 node_modules/bower/node_modules/md5-hex
- minimist@0.0.8 node_modules/bower/node_modules/mkdirp/node_modules/minimist
- mkdirp@0.5.0 node_modules/bower/node_modules/mkdirp
- configstore@1.2.1 node_modules/bower/node_modules/insight/node_modules/configstore
- mout@0.11.0 node_modules/bower/node_modules/mout
- nopt@3.0.4 node_modules/bower/node_modules/nopt
- opn@1.0.2 node_modules/bower/node_modules/opn
- q@0.9.7 node_modules/bower/node_modules/p-throttler/node_modules/q
- p-throttler@0.1.1 node_modules/bower/node_modules/p-throttler
- mute-stream@0.0.5 node_modules/bower/node_modules/promptly/node_modules/read/node_modules/mute-stream
- read@1.0.7 node_modules/bower/node_modules/promptly/node_modules/read
- promptly@0.2.0 node_modules/bower/node_modules/promptly
- q@1.4.1 node_modules/bower/node_modules/q
- decompress-zip@0.1.0 node_modules/bower/node_modules/decompress-zip
- throttleit@0.0.2 node_modules/bower/node_modules/request-progress/node_modules/throttleit
- request-progress@0.3.1 node_modules/bower/node_modules/request-progress
- aws-sign2@0.5.0 node_modules/bower/node_modules/request/node_modules/aws-sign2
- core-util-is@1.0.1 node_modules/bower/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
- string_decoder@0.10.31 node_modules/bower/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
- readable-stream@1.0.33 node_modules/bower/node_modules/request/node_modules/bl/node_modules/readable-stream
- bl@0.9.4 node_modules/bower/node_modules/request/node_modules/bl
- caseless@0.9.0 node_modules/bower/node_modules/request/node_modules/caseless
- delayed-stream@0.0.5 node_modules/bower/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
- combined-stream@0.0.7 node_modules/bower/node_modules/request/node_modules/combined-stream
- forever-agent@0.5.2 node_modules/bower/node_modules/request/node_modules/forever-agent
- async@0.9.2 node_modules/bower/node_modules/request/node_modules/form-data/node_modules/async
- hoek@2.16.3 node_modules/bower/node_modules/request/node_modules/hawk/node_modules/hoek
- boom@2.9.0 node_modules/bower/node_modules/request/node_modules/hawk/node_modules/boom
- cryptiles@2.0.5 node_modules/bower/node_modules/request/node_modules/hawk/node_modules/cryptiles
- sntp@1.0.9 node_modules/bower/node_modules/request/node_modules/hawk/node_modules/sntp
- hawk@2.3.1 node_modules/bower/node_modules/request/node_modules/hawk
- asn1@0.1.11 node_modules/bower/node_modules/request/node_modules/http-signature/node_modules/asn1
- assert-plus@0.1.5 node_modules/bower/node_modules/request/node_modules/http-signature/node_modules/assert-plus
- ctype@0.5.3 node_modules/bower/node_modules/request/node_modules/http-signature/node_modules/ctype
- http-signature@0.10.1 node_modules/bower/node_modules/request/node_modules/http-signature
- isstream@0.1.2 node_modules/bower/node_modules/request/node_modules/isstream
- json-stringify-safe@5.0.1 node_modules/bower/node_modules/request/node_modules/json-stringify-safe
- mime-db@1.12.0 node_modules/bower/node_modules/request/node_modules/mime-types/node_modules/mime-db
- mime-types@2.0.14 node_modules/bower/node_modules/request/node_modules/mime-types
- form-data@0.2.0 node_modules/bower/node_modules/request/node_modules/form-data
- node-uuid@1.4.3 node_modules/bower/node_modules/request/node_modules/node-uuid
- oauth-sign@0.6.0 node_modules/bower/node_modules/request/node_modules/oauth-sign
- qs@2.3.3 node_modules/bower/node_modules/request/node_modules/qs
- stringstream@0.0.4 node_modules/bower/node_modules/request/node_modules/stringstream
- tough-cookie@2.2.0 node_modules/bower/node_modules/request/node_modules/tough-cookie
- tunnel-agent@0.4.1 node_modules/bower/node_modules/request/node_modules/tunnel-agent
- request@2.53.0 node_modules/bower/node_modules/request
- insight@0.7.0 node_modules/bower/node_modules/insight
- retry@0.6.1 node_modules/bower/node_modules/retry
- request-replay@0.2.0 node_modules/bower/node_modules/bower-registry-client/node_modules/request-replay
- bower-registry-client@0.3.0 node_modules/bower/node_modules/bower-registry-client
- wrappy@1.0.1 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy
- inherits@2.0.1 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/inherits
- balanced-match@0.2.0 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.1 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.0 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/minimatch
- wrappy@1.0.1 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/once
- inflight@1.0.4 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/inflight
- path-is-absolute@1.0.0 node_modules/bower/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute
- glob@5.0.15 node_modules/bower/node_modules/rimraf/node_modules/glob
- rimraf@2.4.3 node_modules/bower/node_modules/rimraf
- fstream@1.0.8 node_modules/bower/node_modules/fstream
- fstream-ignore@1.0.2 node_modules/bower/node_modules/fstream-ignore
- semver@2.3.2 node_modules/bower/node_modules/semver
- array-filter@0.0.1 node_modules/bower/node_modules/shell-quote/node_modules/array-filter
- array-map@0.0.0 node_modules/bower/node_modules/shell-quote/node_modules/array-map
- array-reduce@0.0.0 node_modules/bower/node_modules/shell-quote/node_modules/array-reduce
- jsonify@0.0.0 node_modules/bower/node_modules/shell-quote/node_modules/jsonify
- shell-quote@1.4.3 node_modules/bower/node_modules/shell-quote
- stringify-object@1.0.1 node_modules/bower/node_modules/stringify-object
- wrappy@1.0.1 node_modules/bower/node_modules/tar-fs/node_modules/pump/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/tar-fs/node_modules/pump/node_modules/once
- end-of-stream@1.1.0 node_modules/bower/node_modules/tar-fs/node_modules/pump/node_modules/end-of-stream
- pump@1.0.0 node_modules/bower/node_modules/tar-fs/node_modules/pump
- wrappy@1.0.1 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/end-of-stream/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/end-of-stream/node_modules/once
- end-of-stream@1.1.0 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/end-of-stream
- core-util-is@1.0.1 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.3 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.2 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/readable-stream
- bl@1.0.0 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/bl
- xtend@4.0.0 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream/node_modules/xtend
- tar-stream@1.2.1 node_modules/bower/node_modules/tar-fs/node_modules/tar-stream
- tar-fs@1.8.1 node_modules/bower/node_modules/tar-fs
- tmp@0.0.24 node_modules/bower/node_modules/tmp
- is-npm@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/is-npm
- wrappy@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/end-of-stream/node_modules/once/node_modules/wrappy
- once@1.3.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/end-of-stream/node_modules/once
- end-of-stream@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/end-of-stream
- core-util-is@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify/node_modules/readable-stream
- duplexify@3.4.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexify
- infinity-agent@2.0.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/infinity-agent
- is-redirect@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect
- is-stream@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream
- lowercase-keys@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys
- inherits@2.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/nested-error-stacks/node_modules/inherits
- nested-error-stacks@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/nested-error-stacks
- object-assign@3.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/object-assign
- prepend-http@1.0.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/prepend-http
- pinkie@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/pinkie-promise/node_modules/pinkie
- pinkie-promise@1.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/pinkie-promise
- core-util-is@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/core-util-is
- inherits@2.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/inherits
- isarray@0.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream/node_modules/readable-stream
- read-all-stream@3.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/read-all-stream
- timed-out@2.0.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out
- got@3.3.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got
- deep-extend@0.2.11 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/node_modules/deep-extend
- ini@1.3.4 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/node_modules/ini
- minimist@1.2.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/node_modules/minimist
- strip-json-comments@0.1.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/node_modules/strip-json-comments
- rc@1.1.2 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc
- registry-url@3.0.3 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url
- package-json@1.2.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json
- latest-version@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version
- semver@4.3.6 node_modules/bower/node_modules/update-notifier/node_modules/semver-diff/node_modules/semver
- semver-diff@2.0.0 node_modules/bower/node_modules/update-notifier/node_modules/semver-diff
- ansi-regex@2.0.0 node_modules/bower/node_modules/update-notifier/node_modules/string-length/node_modules/strip-ansi/node_modules/ansi-regex
- strip-ansi@3.0.0 node_modules/bower/node_modules/update-notifier/node_modules/string-length/node_modules/strip-ansi
- string-length@1.0.1 node_modules/bower/node_modules/update-notifier/node_modules/string-length
- user-home@1.1.1 node_modules/bower/node_modules/user-home
- xdg-basedir@1.0.1 node_modules/bower/node_modules/configstore/node_modules/xdg-basedir
- configstore@0.3.2 node_modules/bower/node_modules/configstore
- update-notifier@0.3.2 node_modules/bower/node_modules/update-notifier
- is-relative@0.1.3 node_modules/bower/node_modules/which/node_modules/is-absolute/node_modules/is-relative
- is-absolute@0.1.7 node_modules/bower/node_modules/which/node_modules/is-absolute
- which@1.2.0 node_modules/bower/node_modules/which
/usr/local/lib
└── bower@1.8.0 

root@hostname:/var/www/html/laravel#

3. Make sure that bower has already installed successfully by executing the following command :

root@hostname:/var/www/html/laravel# bower

Usage:

    bower  [] []
Commands:

    cache                   Manage bower cache
    help                    Display help information about Bower
    home                    Opens a package homepage into your favorite browser
    info                    Info of a particular package
    init                    Interactively create a bower.json file
    install                 Install a package locally
    link                    Symlink a package folder
    list                    List local packages - and possible updates
    login                   Authenticate with GitHub and store credentials
    lookup                  Look up a single package URL by name
    prune                   Removes local extraneous packages
    register                Register a package
    search                  Search for packages by name
    update                  Update a local package
    uninstall               Remove a local package
    unregister              Remove a package from the registry
    version                 Bump a package version
Options:

    -f, --force             Makes various commands more forceful
    -j, --json              Output consumable JSON
    -l, --loglevel          What level of logs to report
    -o, --offline           Do not hit the network
    -q, --quiet             Only output important information
    -s, --silent            Do not output anything, besides errors
    -V, --verbose           Makes output more verbose
    --allow-root            Allows running commands as root
    -v, --version           Output Bower version
    --no-color              Disable colors
See 'bower help ' for more information on a specific command.
root@hostname:/var/www/html/laravel# 

 

3 thoughts on “How to Install bower with Example via Command Line

Leave a Reply