Print the installed pydepgate version.
pydepgate version
pydepgate 0.4.0
The top-level --version flag produces the same output:
--version
pydepgate --version
Both write to stdout and exit with code 0.