← 返回命令列表

Linux command

bower 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install

bower install [jquery]

Install

bower install

Search

bower search [bootstrap]

Update

bower update

List

bower list

说明

bower is a package manager for web development, managing front-end dependencies like JavaScript libraries, CSS frameworks, and web components. It downloads and installs packages from Git repositories. The tool was popular for front-end dependency management but is now deprecated in favor of npm and yarn.

参数

install _package_
Install package
update _package_
Update package
uninstall _package_
Remove package
search _query_
Search for packages
list
List installed packages
info _package_
Show package information
init
Create bower.json
--save
Add to dependencies
--save-dev
Add to devDependencies

FAQ

What is the bower command used for?

bower is a package manager for web development, managing front-end dependencies like JavaScript libraries, CSS frameworks, and web components. It downloads and installs packages from Git repositories. The tool was popular for front-end dependency management but is now deprecated in favor of npm and yarn.

How do I run a basic bower example?

Run `bower install [jquery]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install _package_ do in bower?

Install package