101

Let's say I want to include the latest version of jquery-ui in my bower.json. Is there any way of finding out which versions are available?

I see that I can find available components on http://sindresorhus.com/bower-components/#!/search/jquery-ui but there doesn't seem to be any mention of versions.

1
  • 13
    The fact that this question exists is a huge usability fail on Bower's part.
    – Ethan Mick
    Commented Jan 20, 2015 at 19:17

3 Answers 3

159

You can use info command to get information

for example:

Open a terminal and type

bower info jquery-ui

You will get a list of available versions as well

BTW: You can search via your terminal with:

bower search jquery-ui
3
  • 4
    I don't think bower search would give us the versions list.
    – Blaise
    Commented Feb 3, 2015 at 17:02
  • 6
    bower info is the right command to get detailed info specific to a package. bower search prints all packages that has the query string as a substring.
    – Yiling
    Commented Aug 29, 2015 at 16:15
  • 1
    Also, if you're looking for a version that hasn't been released yet, you can use bower info <pkg> --verbose
    – end-user
    Commented Jul 28, 2016 at 12:48
2

Try bower-update. It will check for updates and allow you to update packages one-by-one.

From it's own description:

Updates Bower project’s components to the really latest versions, no matter what bower.json requires.

enter image description here

2
1

In case you are working with IntelliJ IDEA (or WebStorm), you can use its bower plugin to browse through through all available components find out their latest version:

Screenshot

It also offers a nice tabular view displaying current vs. latest versions of your installed components.

Not the answer you're looking for? Browse other questions tagged or ask your own question.