homebrew-publish

Automate publishing CLIs/TUIs to Homebrew via a personal tap.

131|13|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/regenrek/agent-skills --skill homebrew-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: homebrew-publish
Source: https://github.com/regenrek/agent-skills/tree/main/skills/homebrew-publish
Command: npx skills add https://github.com/regenrek/agent-skills --skill homebrew-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Publishing and maintaining Homebrew formulas for CLIs/TUIs is complex and error-prone; this skill streamlines creating taps, generating/updating formulae, computing sha256s, testing installations, and releasing for multiple languages.

Core Features & Use Cases

  • Create or manage a Homebrew tap repository and bootstrap with a formula skeleton for Go, Rust, Node/TypeScript, Python, or prebuilt binaries.
  • Generate and update Homebrew formulae, compute sha256 checksums, and validate installations across platforms.
  • Use cases include packaging a new CLI, updating an existing formula on release, or distributing prebuilt binaries via Homebrew.

Quick Start

Install and publish your CLI through a Homebrew tap by following the steps to create the tap, generate formulae, and verify installations.

Frequently Asked Questions about homebrew-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a CLI to Homebrew using a personal tap?

To publish a CLI to Homebrew using a personal tap, you need to create a tap repository, generate a formula skeleton, compute the sha256 checksum, and test the installation. This process automates scaffolding and releasing CLIs across multiple languages.

What languages are supported when generating a Homebrew formula?

Generating a Homebrew formula is supported for Go, Rust, Node/TypeScript, Python, and prebuilt binaries. The process scaffolds the appropriate formula skeleton based on your specific language or binary distribution method.

How do I compute the sha256 checksum for a Homebrew formula update?

Computing the sha256 checksum for a Homebrew formula update is automated during the formula generation and release process. It calculates the required hash for your new release artifacts to ensure valid, tamper-free installations.

Can I distribute prebuilt binaries through Homebrew instead of building from source?

Yes, you can distribute prebuilt binaries through Homebrew by generating a formula skeleton designed for prebuilt binaries. This allows users to install your CLI directly from the downloaded binary assets rather than compiling from source.

Why is publishing a Homebrew formula considered complex and error-prone?

Publishing a Homebrew formula is complex and error-prone due to the manual steps required: managing tap repositories, scaffolding language-specific formulae, computing accurate sha256 hashes, and validating installations across different platforms.

What is the best way to update an existing Homebrew formula on a new release?

The best way to update an existing Homebrew formula on a new release is to automate the formula update, recompute the sha256 checksum, and verify the installation. This ensures your tap stays synchronized with your latest CLI release.