-
Notifications
You must be signed in to change notification settings - Fork 0
Update
sarr-io edited this page Jun 19, 2026
·
8 revisions
Zinc has two update paths:
- update the
znbinary - update installed packages
They are separate. Updating Zinc does not update packages. Updating packages does not update Zinc.
zn update --check
zn updateThis changes the Zinc binary only when Zinc was installed as a standalone release binary. If the current binary is owned by a package manager, Zinc refuses self-replacement and prints the manager command to use instead. Detected managers include pacman with paru/yay guidance, apt/dpkg, dnf/rpm, zypper/rpm, Homebrew, npm, Scoop, Chocolatey, and winget.
zn pkg update openai-responses --dry-run
zn pkg update openai-responses --global --yes
zn pkg update all --global --yesPackage update uses the installed package URI.
For git package URIs, Zinc:
- reads the installed package record
- checks the remote repository for newer matching package tags
- compares the installed version to the newest matching tag
- updates only the package you asked for
Example dry run:
would update openai-responses 0.4.3 -> 0.4.4 openai-responses-v0.4.4
If the package is already current:
would update openai-responses 0.4.3 up to date at 0.4.3
Package neighbors are raw manifest data. Zinc never downloads, installs, updates, resolves, or orders execution from neighbors.