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 May 27, 2026 at 11:06:12 UTC.
You are viewing docs for the previous stable release, 3006.25. Switch to docs for the latest stable release, 3008.0, or to a recent doc build from the master branch.
© 2026 VMware, Inc. | Privacy Policy