Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ Upgrade with the tool you installed the CLI with:
| npm | `npm install -g upsun@latest` |
| apt, dnf/yum, apk | Your system's package manager: see [docs/install.md](docs/install.md#package-repositories) |

Regular system package updates (e.g. `sudo apt update && sudo apt upgrade`) also upgrade the CLI.

### Update notifications

When a newer release is available, the CLI prints the upgrade command for your
Expand Down
9 changes: 6 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sudo apk add upsun-cli
To upgrade:

```console
sudo apk update && sudo apk upgrade upsun-cli
sudo apk add --upgrade --update-cache upsun-cli
```

### Ubuntu/Debian
Expand All @@ -90,7 +90,7 @@ sudo apt-get install -y upsun-cli
To upgrade:

```console
sudo apt-get update && sudo apt-get upgrade upsun-cli
sudo apt update && sudo apt install --only-upgrade upsun-cli
```

### RPM (Fedora, RHEL, CentOS, AlmaLinux, Rocky)
Expand All @@ -113,7 +113,10 @@ sudo dnf install -y upsun-cli
To upgrade:

```console
sudo dnf upgrade -y upsun-cli
sudo dnf upgrade --refresh upsun-cli

# On older systems with yum only
sudo yum clean expire-cache && sudo yum upgrade upsun-cli
```

## npm
Expand Down
Loading