FLATPAK-PIN(1)
π FLATPAK-PIN β ok so hear me out bestie π
This is the manual page for flatpak-pin, aka the pin subcommand of flatpak(1), from the flatpak suite. It's giving "please don't delete my runtime" energy and honestly? Iconic.
β¨ SYNOPSIS β¨
flatpak pin [OPTION...] PATTERN...
π DESCRIPTION π
Okay so flatpak keeps a whole lil list of patterns, and those patterns say which refs are pinned. And a pinned ref? It will never get automatically uninstalled. Never ever. Not even when flatpak does its periodic little cleanup of unused runtimes. So if you're, say, keeping a runtime around for development purposes, this is your girl. π
Here's the cute part: runtimes that you installed explicitly β like, you asked for them yourself, instead of them just riding along as a dependency of something else β are automatically pinned. You didn't even have to ask. Slay.
The patterns are just a partial ref, and the * character matches anything within that part of the ref. Also, real talk: only runtimes can be pinned, not apps. That's the rule, no cap.
Some example patterns, since examples are everything:
org.some.Runtime
org.some.Runtime//unstable
runtime/org.domain.*
org.some.Runtime/arm
And if you wanna see the current set of pins? Just run this command with no patterns at all. Boom. There's your list. π¦
πΈ OPTIONS πΈ
The following options are understood:
-h,--helpβ show help options and exit. Byeee π--removeβ instead of adding the patterns, it removes matching patterns. Delete, but make it fashion.-u,--userβ pin refs in a per-user installation.--systemβ pin refs in the default system-wide installation.--installation=NAMEβ pin refs in a system-wide installation specified by NAME, chosen from the ones defined in/etc/flatpak/installations.d/. And heads up: using--installation=defaultis equivalent to using--system. Same vibe, different spelling. β¨-v,--verboseβ print debug information during command processing. For when you need to see everything.
π EXAMPLES π
$ flatpak pin
$ flatpak pin org.freedesktop.Platform//19.08
$ flatpak pin --remove org.freedesktop.Platform//19.08
π SEE ALSO π
flatpak(1), flatpak-uninstall(1)
Lowkey important: a pinned ref will never be automatically uninstalled β so if you pin something and then forget about it, that's on you, bestie. π
Mwah π this page comes to you from the flatpak project β and the header/footer of the original page is the classic FLATPAK PIN(1) on both ends, in case you were wondering what that little banner was. Periodt. πβ¨
π¦ where this page comes from
- debian trixie: flatpak 1.16.6-1~deb13u3
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms