LinuxCommandLibrary

bower

bower

TLDR

Install a project's dependencies, listed in its bower.json

$ bower install
copy


Install one or more packages to the bower_components directory
$ bower install [package] [package]
copy


Uninstall packages locally from the bower_components directory
$ bower uninstall [package] [package]
copy


List local packages and possible updates
$ bower list
copy


Display help information about a bower command
$ bower help [command]
copy


Create a bower.json file for your package
$ bower init
copy


Install a specific dependency version, and add it to bower.json
$ bower install [local_name]=[package]#[version] --save
copy

Help

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 
    --config.interactive=false Disable prompts 
See 'bower help ' for more information on a specific command. 

Copied to clipboard