mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
New cheatsheet added: support for Bower (frontend package manager)
This commit is contained in:
parent
7eb405dcf8
commit
6f579f9234
26
cheat/cheatsheets/bower
Normal file
26
cheat/cheatsheets/bower
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Install a package locally
|
||||||
|
bower install <package-name>
|
||||||
|
|
||||||
|
# Install a package locally directly from github
|
||||||
|
bower install <user>/<repo>
|
||||||
|
|
||||||
|
# Install a specific package locally
|
||||||
|
bower install <package-name>#<version>
|
||||||
|
|
||||||
|
# Install a package locally and save installed package into bower.json
|
||||||
|
bower install <package-name> --save
|
||||||
|
|
||||||
|
# Retrieve info of a particular package
|
||||||
|
bower info <package-name>
|
||||||
|
|
||||||
|
# List local packages
|
||||||
|
bower list
|
||||||
|
|
||||||
|
# Search for a package by name
|
||||||
|
bower search <package-name>
|
||||||
|
|
||||||
|
# Update a package to their newest version
|
||||||
|
bower update <package-name>
|
||||||
|
|
||||||
|
# Remove a local package
|
||||||
|
bower uninstall <package-name>
|
Loading…
Reference in New Issue
Block a user