ghpr update
ghpr update - update ghpr to the latest version
SYNOPSIS
Section titled “SYNOPSIS”ghpr update [options]DESCRIPTION
Section titled “DESCRIPTION”Check for and install updates to the ghpr CLI tool. Downloads the latest release from GitHub and installs it using the dotnet tool infrastructure.
OPTIONS
Section titled “OPTIONS”| Option | Description |
|---|---|
-c, --check | Check for updates without installing |
-f, --force | Force reinstall even if already up to date |
EXIT CODES
Section titled “EXIT CODES”| Code | Meaning |
|---|---|
0 | Success (or already up to date) |
3 | Error (network error, installation failed) |
EXAMPLES
Section titled “EXAMPLES”Update to Latest Version
Section titled “Update to Latest Version”ghpr updateCheck for Updates Without Installing
Section titled “Check for Updates Without Installing”ghpr update --checkForce Reinstall
Section titled “Force Reinstall”ghpr update --forceREQUIREMENTS
Section titled “REQUIREMENTS”- .NET 8.0 SDK or later
- Network access to GitHub
SEE ALSO
Section titled “SEE ALSO”- GHPR CLI Reference - Overview and installation