A cross-platform TUI that upgrades every package manager on your system
Project description
pkg-upgrade
A beautiful keyboard-only terminal UI that upgrades every macOS package manager you have installed — Homebrew formulas & casks, pip, npm, gem, and macOS system updates — with smart parallel execution, per-manager confirmations, and a detailed dashboard.
Features
- 🍺 Homebrew formulas + 🍻 casks
- 🐍 pip3
- 📦 npm (global)
- 💎 gem
- 🍎
softwareupdate - Smart parallel execution (brew → cask → pip sequential; npm/gem/system parallel)
- Per-manager confirmation with preview, or
--yesto skip prompts - Timestamped log file + native macOS notification on completion
--skip/--only/--dry-run/--list
Keybindings
| Key | Action |
|---|---|
j / k or ↑ / ↓ |
Move up/down |
g / G |
Jump to top/bottom |
Enter / → |
Expand/confirm |
y |
Confirm upgrade |
s |
Skip package |
/ |
Filter/search |
q |
Quit |
? |
Show help |
Installation
One-line (recommended)
curl -fsSL https://raw.githubusercontent.com/liskeee/pkg-upgrade/main/install.sh | bash
Pin a specific version:
curl -fsSL https://raw.githubusercontent.com/liskeee/pkg-upgrade/main/install.sh \
| MAC_UPGRADE_REF=v0.1.0 bash
The installer uses pipx when available and falls
back to a self-managed venv at ~/.local/share/pkg-upgrade/. Requires
Python 3.12+ and macOS.
Homebrew
brew tap liskeee/pkg-upgrade https://github.com/liskeee/pkg-upgrade
brew install pkg-upgrade
pipx
pipx install git+https://github.com/liskeee/pkg-upgrade
From source
git clone https://github.com/liskeee/pkg-upgrade
cd pkg-upgrade
pipx install .
Windows
iwr -useb https://raw.githubusercontent.com/liskeee/pkg-upgrade/main/install.ps1 | iex
Or via Scoop:
scoop bucket add liskeee https://github.com/liskeee/scoop-bucket
scoop install pkg-upgrade
Uninstall
# installed via pipx (the default path):
pipx uninstall pkg-upgrade
# installed via the venv fallback:
rm -rf ~/.local/share/pkg-upgrade ~/.local/bin/pkg-upgrade
Usage
pkg-upgrade # interactive dashboard
pkg-upgrade --yes # upgrade everything without prompts
pkg-upgrade --only brew,npm # only specific managers
pkg-upgrade --skip system # skip macOS system updates
pkg-upgrade --dry-run # preview only
pkg-upgrade --list # detect installed managers and exit
Shell Completion
Tab completion is installed automatically by every first-party installer
(Homebrew, Scoop, install.sh, install.ps1). If you installed via
pipx or pip, set it up manually:
# bash
pkg-upgrade completion bash | sudo tee /etc/bash_completion.d/pkg-upgrade
# zsh (ensure ~/.zsh/completions is on your fpath)
pkg-upgrade completion zsh > "$HOME/.zsh/completions/_pkg-upgrade"
# fish
pkg-upgrade completion fish > ~/.config/fish/completions/pkg-upgrade.fish
# PowerShell (add to $PROFILE)
pkg-upgrade completion powershell | Out-String | Invoke-Expression
Third-party plugin managers appear in Tab completion after the next
pkg-upgrade --list call, which refreshes the cached manager list.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkg_upgrade-1.5.1.tar.gz.
File metadata
- Download URL: pkg_upgrade-1.5.1.tar.gz
- Upload date:
- Size: 158.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a30b2f6f3eeb13a7983e360d092b8c290002f78e4c43a9930154b4d99d0c663
|
|
| MD5 |
75d98261acccb8417233a9c2276869bf
|
|
| BLAKE2b-256 |
98b1c71523555c3721520a8c2cbc1f8cf8e532748b1a0ab4799cbf423292b0ae
|
Provenance
The following attestation bundles were made for pkg_upgrade-1.5.1.tar.gz:
Publisher:
release.yml on liskeee/pkg-upgrade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkg_upgrade-1.5.1.tar.gz -
Subject digest:
6a30b2f6f3eeb13a7983e360d092b8c290002f78e4c43a9930154b4d99d0c663 - Sigstore transparency entry: 1286617302
- Sigstore integration time:
-
Permalink:
liskeee/pkg-upgrade@a05e493d28e9a46ea8d9a243a0c8d8ec0c4ad9b1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/liskeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a05e493d28e9a46ea8d9a243a0c8d8ec0c4ad9b1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pkg_upgrade-1.5.1-py3-none-any.whl.
File metadata
- Download URL: pkg_upgrade-1.5.1-py3-none-any.whl
- Upload date:
- Size: 46.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e54c00bc25ddd5948c1d8c5c01e5d84f37c2356553367d8540ea6874f1170ce
|
|
| MD5 |
db3265f8edb64fae254b76da85b8bb4e
|
|
| BLAKE2b-256 |
26b53bcf05a521e7169eab76379037549ca1a2b650299ad8eaffa37128bfef92
|
Provenance
The following attestation bundles were made for pkg_upgrade-1.5.1-py3-none-any.whl:
Publisher:
release.yml on liskeee/pkg-upgrade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkg_upgrade-1.5.1-py3-none-any.whl -
Subject digest:
9e54c00bc25ddd5948c1d8c5c01e5d84f37c2356553367d8540ea6874f1170ce - Sigstore transparency entry: 1286617435
- Sigstore integration time:
-
Permalink:
liskeee/pkg-upgrade@a05e493d28e9a46ea8d9a243a0c8d8ec0c4ad9b1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/liskeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a05e493d28e9a46ea8d9a243a0c8d8ec0c4ad9b1 -
Trigger Event:
push
-
Statement type: