100

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.

opsb
  • 29,325
  • 19
  • 89
  • 99

3 Answers3

158

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
user2461271
  • 1,706
  • 1
  • 11
  • 5
  • 4
    I don't think `bower search` would give us the versions list. – Blaise Feb 03 '15 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 Aug 29 '15 at 16:15
  • 1
    Also, if you're looking for a version that hasn't been released yet, you can use `bower info --verbose` – end-user Jul 28 '16 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

Mohsen
  • 64,437
  • 34
  • 159
  • 186
  • 5
    Looks like that package has been deprecated, and it suggests you use https://github.com/tjunnone/npm-check-updates instead. – Mattygabe Oct 15 '15 at 19:18
  • `npm-check-updates` removed bower support in v7: https://github.com/raineorshine/npm-check-updates/blob/696168b350fd11ef8684b0c498328dc0aef870a3/CHANGELOG.md#700---2020-06-09 – Cas Jul 16 '21 at 14:19
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.

martin
  • 1,185
  • 17
  • 22