gt-extension-upgrade(1)

gt-extension-upgrade1

Upgrade installed extensions

Usage

gt extension upgrade {<name> ... | --all} [flags]

Overview

Upgrade extensions to their latest release, or to the latest commit of the default branch for script extensions. gt shows the old and new version and digest and asks first.

gt refuses an upgrade when the repository is no longer the one the extension was installed from, such as after a transfer, and when a release tag it installed now holds a different asset. Extensions installed with --pin and local extensions are not upgraded; reinstall them with gt extension install --force.

Options

--all[=false]
Upgrade every installed extension

--dry-run[=false]
Show the upgrades without installing them

--force[=false]
Reinstall the current version too

-h, --help[=false]
help for upgrade

Options inherited from parent commands

--cwd=""
Working directory for repository discovery

--debug[=false]
Log the method, URL, status, and duration of each HTTP request to stderr

--host=""
Gitea instance URL, including any base path

--interactive[=false]
Allow prompts with machine output

--no-input[=false]
Disable prompts and implicit editor/browser interactions

--sudo=""
Perform API requests as this user (requires an administrator account)

--user=""
Account name on the selected instance

-y, --yes[=false]
Accept confirmations without prompting

Examples

$ gt extension upgrade hello
# See what would change
$ gt extension upgrade --all --dry-run
$ gt extension upgrade --all --yes

From gitea-cli 1.0.0-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.