claude-code-usage-bar
claude-code-usage-bar copied to clipboard
Stuck on an old version? Upgrade once by hand / 老版本请手动升级一次
Some older releases shipped an updater that cannot upgrade itself. If cs --version shows one of these, run the fix once, after which auto-upgrade (every 6 hours) works again.
| You are on | Why it never upgrades | Fix once |
|---|---|---|
| uv install ≤ 3.29.3 whose daemon runs as a launchd/systemd service | the service could not find uv and fell back to pip | cs upgrade |
| standalone binary ≤ 3.33.0 | no CA certificates bundled: every HTTPS check failed | re-run the installer (below) |
| standalone binary < 3.36.0 | binaries had no auto-upgrade yet | cs upgrade or the installer |
| uv install 3.35.2–3.42.x | misread as a duplicate install (#71) | cs upgrade (Windows: see #71) |
| Windows < 3.43.6 | auto-upgrade never ran on Windows | close Claude Code, cs daemon stop, uv tool upgrade claude-statusbar |
| Windows pip / pipx (any version) | files in use can not be replaced | close Claude Code, then pip install -U claude-statusbar |
two installs of cs |
the copy that does not own cs will not upgrade itself |
cs doctor names both; remove one |
Installer (macOS / Linux):
curl -fsSL https://raw.githubusercontent.com/leeguooooo/claude-code-usage-bar/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/leeguooooo/claude-code-usage-bar/main/install.ps1 | iex
Still stuck after that? Comment here with the output of cs doctor.
部分老版本的自动升级逻辑本身是坏的,无法自己升级。cs --version 落在上表里的版本,手动执行一次对应的命令即可(多数情况是 cs upgrade,或重新运行安装命令),之后会恢复每 6 小时自动升级。