- flatpak update [OPTION...] [NAME] [BRANCH]
By default this looks for both installed applications and runtimes, but you can limit this by using the --app or --runtime option.
Normally, this command updates the application to the tip of its branch. But it is possible to check out another commit, with the --commit option.
Note that updating a is different from installing a different branch, and runtime updates are expected to keep strict compatibility. If an application update does cause a problem, it is possible to go back to the previous version, with the --commit option.
Unless overridden with the --user option, this command updates a system-wide installation.
The following options are understood:
- Show help options and exit.
- Update a per-user installation.
- Update a system-wide installation.
- The architecture to update for.
- Install only a subpath of the ref. This is mainly used to install a subset of locales. This can be added multiple times to install multiple subpaths. If this is not specified the subpaths specified at install time are reused.
- Update to this commit, instead of the tip of the branch.
- Download the latest version, but don't deploy it.
- Don't download the latest version, deploy it whatever is locally available.
- Don't download related extensions, such as the locale data.
- Only look for an app with the given name.
- Only look for an runtime with the given name.
- Print debug information during command processing.
- Print version information and exit.
$ flatpak --user update org.gnome.GEdit