Comments on How do I find out the version of a program in a terminal?
Parent
How do I find out the version of a program in a terminal?
+4
−0
How can I print the version of a program in the terminal, so that I know which one I have installed?
Post
+10
−0
Many programs have a --version
option, so that's the first thing I try when I need to find this out. If that doesn't work, --help
usually produces a full list of options, so if version info is provided in a non-standard way, that should lead you to it. (Some programs support -v
for version, but it's possible that's instead mapped to something else, as pointed out in a comment, so be careful.)
Unfortunately, not all applications provide this information. I don't know if you can get it from the OS.
1 comment thread