datumctl with additional commands without changing the core CLI. A plugin is an independent binary that datumctl runs on your behalf — once installed, you invoke it exactly like a built-in command. For the thinking behind plugins, see Extending our CLI with plugins on the Datum blog.
Plugins are optional. You never need one to use
datumctl, and the core CLI works the same whether or not you have any installed.What a plugin is
When you install thecompute plugin from the official datum catalog, its commands become available under datumctl compute:
official trust badge. You can also add third-party catalogs, whose plugins carry a third-party badge. See Adding catalogs to register more.
Finding plugins
Search every registered catalog for available plugins:-o json or -o name. -o json prints an array of objects with name, index, version, trust, and description fields, or [] when nothing matches. A plugin its catalog marks deprecated also has a deprecated object with the catalog’s message and replacement. -o name prints one plugin name per line:
plugin browse opens a filterable picker where you can inspect a plugin’s details and install it in place:
plugin browse requires an interactive terminal. In scripts or CI, use plugin search instead.Installing a plugin
Datum’s own plugins are documented with the products they manage. For example, see DNS operations for thedns plugin and Compute commands for the compute plugin.
Install by name from a catalog:
datumctl plugin upgrade follows newer pre-releases the same way.
If a bare name exists in more than one catalog, datumctl lists the matches instead of guessing. Qualify the name with its catalog (for example
acme/deploy) to choose. A deprecated plugin and its same-named replacement don’t count as a collision; see Deprecated plugins.Pinning a version
Pin a specific version at install time by appending@version:
@version, datumctl installs the version the catalog recommends.
Restoring your plugin set
Runinstall with no arguments to restore every plugin you previously installed, at its recorded version. This reproduces your plugin set on a new machine:
Listing what you have
Running an installed plugin
An installed plugin behaves like a native command:Upgrading and removing
datumctl plugin upgrade --all. datumctl plugin list shows update in the STATUS column for any plugin with a newer version.
plugin upgrade runs the same verified install flow as a fresh install.
Deprecated plugins
When a catalog marks a plugin as deprecated, usually because it moved to another catalog, datumctl prints a warning when you install, restore, or upgrade that plugin.plugin upgrade prints it whether or not a newer version was installed. The install or upgrade still completes. The warning names the replacement and the commands to switch to it:
datumctl plugin install line, using the name you gave that catalog. If your organization’s policy disables that catalog, the warning says so instead of suggesting commands.
Run the suggested commands to switch. After datumctl plugin install <catalog>/<name>, datumctl records the plugin as installed from the new catalog, so plugin upgrade uses that catalog and the warning stops. Plugins installed directly from a GitHub release never show this warning.
After you add the replacement’s catalog, a bare-name install such as datumctl plugin install ipam installs the replacement when it has the same name. datumctl doesn’t report that the name exists in multiple catalogs. It first prints this note to stderr, once for each deprecated match it skips:
datumctl plugin install <catalog>/<new-name>.
datumctl plugin install --all-available skips a deprecated plugin you haven’t installed and prints Skipped <name>: deprecated. A deprecated plugin you already have is still upgraded, or reported as up to date, and datumctl prints its deprecation warning.
Listings flag deprecated plugins too:
datumctl plugin listshowsdeprecatedin theSTATUScolumn in place ofupdate. When a newer version also exists, datumctl still suggestsdatumctl plugin upgrade. A plugin built for a different datumctl version still shows!, and one without version information still shows?. After the table, datumctl prints the deprecation warning for each deprecated plugin to stderr, whatever its status.plugin listreads only the catalog indexes datumctl has cached, so rundatumctl plugin searchto refresh them.datumctl plugin searchadds[deprecated]before the description and prints the warning for each deprecated result to stderr after the table. With-o json, each deprecated result carries adeprecatedobject instead.-o jsonand-o nameprint no warnings.datumctl plugin browseadds(deprecated)after the plugin name and shows the warning in the plugin’s details.
assistant, billing, ipam, search, and telemetry plugins have moved from the datum catalog to the Milo catalog, and their datum entries are deprecated. They keep installing from the datum catalog until Datum removes them. datumctl v0.25.0 and later shows the deprecation warning for them. To switch a plugin, add the Milo catalog and install the plugin from it:
How plugins stay trustworthy
datumctl treats a plugin as untrusted code and protects you in a few ways:- HTTPS-only downloads. Plugin archives and catalog manifests are fetched over HTTPS only. Downloads to private, loopback, or link-local addresses are refused, and redirects are re-checked on every hop.
- Checksum verification on every run. datumctl records a SHA256 fingerprint of each plugin binary at install time and verifies it every time the plugin runs. If a managed plugin binary is modified after installation, datumctl refuses to run it.
- Trust badges. Every plugin and catalog shows whether it is
official(Datum’s curated datum catalog) orthird-party, so you always know the source.
Trusting a plugin already on your PATH
If you have a plugin binary on yourPATH that datumctl did not install (named datumctl-<name> or milo-<name>), datumctl blocks it from running until you explicitly trust it:
plugin trust.
Next steps
- Adding catalogs — register additional or internal marketplaces
- Building plugins — write your own plugin with the Go SDK
- Install — new to
datumctl? Install and log in first - Contexts & scoping — the organization and project a plugin inherits when it runs