---
name: "ostree-admin-pin"
section: "1"
platform: "linux"
package: "ostree"
version: "2026.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ostree-admin-pin"
---

# ostree-admin-pin(1)

Explicitly retain deployment at a given index

## NAME

ostree-admin-pin - Explicitly retain deployment at a given index

## SYNOPSIS

**ostree admin pin** {INDEX}

## DESCRIPTION

Ensures the deployment at INDEX, will not be garbage collected by default. This is termed "pinning". If the -u option is provided, undoes a pinning operation. INDEX can be \>= 0 or one of booted, pending or rollback strings.

## OPTIONS

- **--unpin**,**-u**

  Undoes a pinning operation.
