ostree-admin-status1
List deployments
Usage
ostree admin
status
Overview
Lists the deployments available to be booted into. Includes osname, the checksum followed by the deploy serial, and the refspec. An asterisk indicates the current booted deployment.
Options
-
--sysroot="PATH" -
Create a new OSTree sysroot at PATH
-
-V, --verify -
Print the commit verification status
-
--json -
Output in JSON format.
-
-S, --skip-signatures -
Skip signatures in output
-
-D, --is-default -
Output the string default if the default deployment is the booted one, not-default if we are booted in a non-default deployment (e.g. the user interactively chose a different entry in the bootloader menu, or the bootloader rolled back automatically, etc.). If we are not in a booted OSTree system, an error is returned.
-
-v, --verbose -
Print debug information during command processing
-
--version -
Print version information and exit
Examples
$ ostree admin status
* gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
origin refspec: gnome-ostree/buildmain/x86_64-runtime
gnome-ostree ce19c41036cc45e49b0cecf6b157523c2105c4de1c.0
origin refspec: gnome-ostree/buildmain/x86_64-runtime
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.
--is-default since Debian 13 (Trixie);
--json since Arch Linux 2026-11-01;
--skip-signatures since Debian 13 (Trixie);
--sysroot since Debian 13 (Trixie);
--verbose since Debian 13 (Trixie);
--verify since Debian 13 (Trixie);
--version since Debian 13 (Trixie);
-D since Debian 13 (Trixie);
-S since Debian 13 (Trixie);
-V since Debian 13 (Trixie);
-v since Debian 13 (Trixie).