How can I find out what version of chrome I am using?
I would like a command line method, not the GUI - visiting chrome://chrome
in the url bar. I need to be able to use it in a bash script.
I ran the command google-chrome --help
, but it didn't seem to have a --version
option.
It does have the option listed:
So you can use the command
google-chrome
with the--version
option:gives:
For the following commands, I am using
grep
and regex, because it is much more adaptable to changes in Google Chrome version format changesTo get just the version number run the following command:
It gives:
And this one:
gives you just the main version numbers.
If you have beta installed:
Running this command:
gives:
And then there are the gui methods:
You can go to the following sites:
gives you this:
And
or
Thanks Jeff Inventor Chrome OS.
gives this:
My pronouns are He / Him
Below command will give the version details only:
Output:
For a more generic solution you can use
apt-cache policy
, e.g.:This will work with all software installed through your package manager.
output:
about: also works. It gives the full version info of the browser, Blink, Javascript, and Flash.