Skip to content

[Feature/功能]: 建议增加 Homebrew 安装方式 #1076

@cikichen

Description

@cikichen

Pre-submission Checklist / 提交前检查

  • I have searched the existing issues and this feature has not been requested / 我已搜索现有 issues,此功能尚未被提出
  • I have read the documentation / 我已阅读文档

Problem Statement / 问题描述

目前 AxonHub 主要是下载二进制包或者用 Docker,如果能支持 brew install 会方便很多。

Proposed Solution / 期望方案

我看项目里已经在用 goreleaser 了,直接在 .goreleaser.yml里加个 brews 配置就行。自动生成的 Formula 可以推到一个独立的 Tap 仓库(比如 looplj/homebrew-tap)。
配置建议如下:

brews:
  - name: axonhub
    repository:
      owner: looplj
      name: homebrew-tap
    directory: Formula
    homepage: "https://github.com/looplj/axonhub"
    description: "AxonHub is an all-in-one AI development platform that serves as a unified API gateway for multiple AI providers."
    license: "Apache-2.0"
    install: |
      bin.install "axonhub"
    test: |
      system "#{bin}/axonhub version"

Alternatives Considered / 备选方案

No response

Feature Category / 功能分类

Configuration / 配置

Additional Context / 其他补充信息

这样以后发布新版,brew 这边也就自动同步了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions