Low Orbit Flux Logo 2 D

How do I check my pig version?

How do I check my pig version?

Checking the version of pig installed on your system is incredibly easy. You can just use the pig command like this.


pig --version

The above command should give you everything you really need in a neat complacent format.

Alternatively you can use another option which will give you additional information that happens to include the version number. You could try running the following command with the ‘-i’ parameter.


pig -i

This should also give you what you need but with additional information that may or may not be useful depending on what your needs are.