Skip to content

Flatpak Applications

Shelly natively integrates Flatpak application management alongside official ALPM repositories and the Arch User Repository (AUR). With Shelly, you can discover applications across configured remotes, inspect sandbox permissions and download sizes, manage system- and user-level installations, and control running application processes:

  • shelly search flatpak - Query cached AppStream metadata with permissions, download sizes, and remote sources.
  • shelly install flatpak - Install applications from remotes, local .flatpakref files, or standalone .flatpak bundles.
  • shelly run flatpak - Launch applications, inspect running Flatpak instances, or terminate processes with --kill.
  • shelly purify flatpak - Prune unreferenced runtimes and extension dependencies to reclaim storage space.

Searching for Flatpaks (shelly search flatpak)

Section titled “Searching for Flatpaks (shelly search flatpak)”

Shelly searches cached local AppStream catalogs across all configured system and user Flatpak remotes (such as Flathub):

Terminal window
shelly search flatpak spotify

You can paginate large result sets using --page and --limit:

Terminal window
shelly search flatpak editor --limit 5 --page 1

Installing Flatpaks (shelly install flatpak)

Section titled “Installing Flatpaks (shelly install flatpak)”

Shelly supports installing applications by Application ID (e.g. com.spotify.Client) or friendly AppStream name:

Terminal window
# Install system-wide (default)
shelly install flatpak com.spotify.Client
# Or install for the current user only
shelly install flatpak com.spotify.Client --user

If multiple remotes provide the same application (e.g. flathub vs flathub-beta), specify the remote explicitly:

Terminal window
shelly install flatpak org.blender.Blender --remote flathub-beta

Running & Managing Processes (shelly run flatpak)

Section titled “Running & Managing Processes (shelly run flatpak)”

Shelly provides process management and inspection for installed Flatpaks.

Launch any installed Flatpak application by its ID or friendly name:

Terminal window
shelly run flatpak com.spotify.Client
# Or with shortcode:
shelly -Xf com.spotify.Client

To view active Flatpak processes and their process identifiers (PIDs):

Terminal window
shelly run flatpak --list
┌───────────────────────┬───────────┬────────┬───────────┬────────┬────────┐
│ Application │ Instance │ PID │ Child PID │ Arch │ Branch │
├───────────────────────┼───────────┼────────┼───────────┼────────┼────────┤
│ org.gnome.font-viewer │ 654442786 │ 153522 │ 153535 │ x86_64 │ stable │
└───────────────────────┴───────────┴────────┴───────────┴────────┴────────┘
Total: 1 running Flatpak

To safely stop a running Flatpak instance or terminate a hung process:

Terminal window
shelly run flatpak com.spotify.Client --kill
# Or with shortcode:
shelly -Xf com.spotify.Client -k

Update every installed Flatpak application and runtime across user and system scopes:

Terminal window
shelly upgrade flatpak
# Or with shortcode:
shelly -Uf

Cleaning Unused Runtimes (shelly purify flatpak)

Section titled “Cleaning Unused Runtimes (shelly purify flatpak)”

When Flatpak applications are uninstalled, their shared base runtimes (e.g. GNOME or KDE Platform runtimes) may remain on disk.

Reclaim disk space by pruning unreferenced runtimes across both system and user installations:

Terminal window
shelly purify flatpak
# Or with shortcode:
shelly -Zf

Action Shortcode Full Command Equivalent
Run Flatpak shelly -Xf <app> shelly run flatpak <app>
Stop Flatpak shelly -Xf <app> -k shelly run flatpak <app> --kill
List Running shelly -Xf -l shelly run flatpak --list
Upgrade Flatpaks shelly -Uf shelly upgrade flatpak
Purge Unused Runtimes shelly -Zf shelly purify flatpak

© 2026 Seafoam LabsShelly Chel