Files
cheatsheet-tldr/tldr/linux/flatpak-run
2024-12-30 00:18:23 +00:00

30 lines
867 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# flatpak run
> Run flatpak applications and runtimes.
> More information: <https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-run>.
- Run an installed application:
`flatpak run {{com.example.app}}`
- Run an installed application from a specific branch e.g. stable, beta, master:
`flatpak run --branch={{stable|beta|master|...}} {{com.example.app}}`
- Run an interactive shell inside a flatpak:
`flatpak run --command={{sh}} {{com.example.app}}`
- Run an installed application with a specific runtime version:
`flatpak run --runtime-version={{24.08|master|stable|...}} {{com.example.app}}`
- Run an installed application with a different runtime (but same version number):
`flatpak run --runtime={{org.freedesktop.Sdk}} {{com.example.app}}`