Low Orbit Flux Logo 2 D

What is the Command to Check Hive Version?

Checking the version of hive that you have installed is very easy. You can just use the hive command like this:


hive --version

The above is going to be useful directly from the command line or from within a Shell script. It could also be wrapped by basically any program you could write giving you a lot of flexibility.

You can also query the version from the Hive CLI like this.


hive> select version();

This could be useful if you want to check the version from within a Hive script.