You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the only prebuilt route on macOS/Linux is curl … | sh. A Homebrew
formula is what most macOS users look for first, and brew upgrade is a
channel people already trust. Tracked in docs/plan.md as T25 (brew part).
Scope
Tap repo p10node/homebrew-tap (public, default branch main)
Formula installs the prebuilt release archives (darwin/linux × arm64/amd64)
and their checksums.txt sha256 — no Go toolchain, seconds to install
Formula is generated from a tag + checksums.txt
(packaging/homebrew/formula.sh, just brew-formula)
homebrew.yml workflow: called from release.yml after publish, and
runnable by hand with a tag; pushes Formula/k10s.rb to the tap
Repo secret HOMEBREW_TAP_TOKEN: fine-grained PAT, Contents read/write
on the tap repo only
Self-update steps aside for brew: k10s update / /update detect a
binary under a Homebrew Cellar and say brew upgrade k10s instead of
writing over the keg
Picking this up. #29 has everything in the scope that is code: packaging/homebrew/formula.sh and just brew-formula, a homebrew.yml workflow (called from release.yml after every full release, runnable by hand with a tag, checking each archive's checksum and attestation before it writes, never moving the tap backwards), k10s update and /update stepping aside for a Homebrew keg with the brew upgrade k10s hint, and the docs. The v0.1.8 formula it generates passes brew style and brew audit --strict --online on Homebrew 7.0.12.
Two steps are not code:
p10node/homebrew-tap exists (public, main), with a README and the v0.1.8 formula, so brew install p10node/tap/k10s works now.
@pierreneter: a fine-grained personal access token with resource owner p10node, repository access to p10node/homebrew-tap only and Contents: read and write, saved in this repository as the HOMEBREW_TAP_TOKEN secret. If the organization only allows fine-grained tokens after approval, it needs approving there too. Until the secret exists the release job only leaves a notice, so the pull request can merge first.
v0.1.8 predates the step-aside, so a v0.1.8 installed with brew still updates itself over its keg until the next release replaces it; brew upgrade puts that right.
Activity
junior commentedon Nov 8, 2026
Picking this up. #29 has everything in the scope that is code:
packaging/homebrew/formula.shandjust brew-formula, ahomebrew.ymlworkflow (called fromrelease.ymlafter every full release, runnable by hand with a tag, checking each archive's checksum and attestation before it writes, never moving the tap backwards),k10s updateand/updatestepping aside for a Homebrew keg with thebrew upgrade k10shint, and the docs. The v0.1.8 formula it generates passesbrew styleandbrew audit --strict --onlineon Homebrew 7.0.12.Two steps are not code:
p10node/homebrew-tapexists (public,main), with a README and the v0.1.8 formula, sobrew install p10node/tap/k10sworks now.p10node/homebrew-taponly and Contents: read and write, saved in this repository as theHOMEBREW_TAP_TOKENsecret. If the organization only allows fine-grained tokens after approval, it needs approving there too. Until the secret exists the release job only leaves a notice, so the pull request can merge first.v0.1.8 predates the step-aside, so a v0.1.8 installed with brew still updates itself over its keg until the next release replaces it;
brew upgradeputs that right.chore(homebrew): use vX.Y.Z, not v1.4.0, in the examples
feat(packaging): generate the Homebrew formula from a release
ci(homebrew): push the formula to p10node/homebrew-tap
ci(release): update the Homebrew tap after every full release
feat(update): leave a Homebrew install to brew upgrade
docs: install with Homebrew, and how the tap stays current