--version
--version prints the version of MSH Zimbra Rules installed on the server where you run it. Use it to check which version you have, for example before and after an update, or when you contact support.
sudo -u msh /opt/msh-zr/bin/mshctl --version
-V is the short form. For how to run the tool, see Running mshctl.
Output
One line with the version, the build and when it was built, in UTC:
MSH Zimbra Rules 1.4.0 (build 1.4.0, 2026-11-18T10:21:47Z)
| Part | Meaning |
|---|---|
1.4.0 | The version, as the release history and the Update page name it |
build 1.4.0 | The build of that version |
2026-11-18T10:21:47Z | When the build was made |
The command changes nothing and ends with exit code 0.
Several servers
mshctl --version shows only the version of the server it runs on. In a multi-server installation, the Version column of the Servers page shows the version of every MTA server, and a server older than the web admin shows Version mismatch, see Version mismatch.