Package support for the REST example
Returns a string representing the package version or an empty string if not installed. If more than one package name is specified, a dict of name/version pairs is returned.
CLI Example:
salt '*' pkg.version <package name>
salt '*' pkg.version <package1> <package2> <package3> ...
Generated on February 12, 2026 at 23:54:28 UTC.
You are viewing docs for the latest stable release, 3007.13. Switch to docs for the previous stable release, 3006.21, or to a recent doc build from the master branch.
© 2026 VMware, Inc. | Privacy Policy