Permalink
Browse files

Update the install doc for latest Bower

  • Loading branch information...
1 parent 712668e commit 6fc9b89026b24bf5f363c33d888a3629765751b0 @sindresorhus sindresorhus committed Dec 8, 2012
Showing with 13 additions and 3 deletions.
  1. +13 −3 docs/cli/commands/install.md
@@ -37,8 +37,18 @@ will actually also install Underscore.js and jQuery.js as these are required for
{% highlight sh %}
yeoman install jquery
-yeoman install git://github.com/maccman/package-jquery.git
-yeoman install maccman/package-jquery (same as above)
-yeoman install http://code.jquery.com/jquery-1.7.2.js
+yeoman install git://github.com/components/jquery.git
+yeoman install components/jquery (same as above)
+yeoman install http://foo.com/jquery.awesome-plugin.js
yeoman install ./repos/jquery
{% endhighlight %}
+
+As you can see, packages can be installed by name, Git endpoint, GitHub shorthand, URL or local path. If you install and URL that is a zip or tar file, yeoman will automatically extract the contents of it. When tags are available in the endpoint, you can specify a semver tag to fetch concrete versions:
+
+{% highlight sh %}
+yeoman install jquery#1.8.1
+yeoman install git://github.com/components/jquery.git#~1.8.1
+yeoman install components/jquery#1.8.x
+{% endhighlight %}
+
+More in the [Bower docs](https://github.com/twitter/bower/blob/master/README.md#usage)

0 comments on commit 6fc9b89

Please sign in to comment.