FLATPAK PIN(1)

    .SH "NAME" flatpak-pin - Pin runtimes to prevent automatic removal
    .SH "SYNOPSIS"
            .HP u
                flatpak pin
                 [OPTION...]
                 PATTERN...

    .SH "DESCRIPTION"

        .PP Flatpak maintains a list of patterns that define which refs are pinned. A pinned ref will never be automatically uninstalled (as are unused runtimes periodically). This can be useful if for example you are using a runtime for development purposes.
        .PP Runtimes that are explicitly installed, rather than installed as a dependency of something else, are automatically pinned.
        .PP The patterns are just a partial ref, with the * character matching anything within that part of the ref. Only runtimes can be pinned, not apps. Here are some example patterns:

    org.some.Runtime
    org.some.Runtime//unstable
    runtime/org.domain.*
    org.some.Runtime/arm

        .PP To list the current set of pins, run this command without any patterns.

    .SH "OPTIONS"

        .PP The following options are understood:

            .PP -h, --help

                    Show help options and exit.
                .RE
                .PP --remove

                        Instead of adding the patterns, remove matching patterns.
                    .RE
                    .PP -u, --user

                            Pin refs in a per-user installation.
                        .RE
                        .PP --system

                                Pin refs in the default system-wide installation.
                            .RE
                            .PP --installation=NAME

                                    Pin refs in a system-wide installation specified by NAME among those defined in /etc/flatpak/installations.d/. Using --installation=default is equivalent to using --system.
                                .RE
                                .PP -v, --verbose

                                        Print debug information during command processing.
                                    .RE

                            .SH "EXAMPLES"

                                .PP $ flatpak pin
                                .PP $ flatpak pin org.freedesktop.Platform//19.08
                                .PP $ flatpak pin --remove org.freedesktop.Platform//19.08

                            .SH "SEE ALSO"

                                .PP flatpak(1), flatpak-uninstall(1),