Homebrew Core banner
social4hyq social4hyq

Homebrew Core

AI community

Description

HarmonyOS(OHOS aarch64)Homebrew tap:真机验证、签名开箱即用的开发工具链——AI 编码 CLI(opencode / claude-code)、Bun 运行时、Node 多版本管理、终端与调试工具;暂未回流官方 core 的 formula 在此先行,稳定后合入上游

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

social4hyq/homebrew-core

HarmonyOS(OHOS aarch64)的 Homebrew tap:提供已在真机验证的开发工具链——AI coding CLI(`opencode` / `claude-code`)、Bun 运行时(`bun` / `bun-webkit` / `llvm@21` 等)、终端与调试工具(`qemu-aarch64` / `starship` / `zellij` / `sshport` 等)。所有二进制均已按 HarmonyOS 要求完成签名,安装后开箱即用。

安装

brew tap social4hyq/core https://atomgit.com/social4hyq/homebrew-core.git
brew trust social4hyq/core   # Homebrew 6.0+ 必须显式信任第三方 tap

# 常用工具:
brew install opencode        # AI 编码代理(v2 预览:brew install opencode@2)
brew install claude-code     # Claude Code CLI
brew install bun             # Bun 运行时
brew install hishell-font    # starship 图标字体(先装这个:提示符的图标/符号靠它渲染)
brew install starship        # 终端提示符美化(主题化 prompt,配合 hishell-font)
brew install zellij          # 终端复用器
brew install qemu-aarch64    # 用户态 QEMU(strace 替代品)

验证安装

bun --version && bun -e 'console.log(2**32, Math.PI)'
opencode --version
opencode2 --version
claude --version
starship --version
zellij --version
qemu-aarch64 --version && qemu-aarch64 -strace /bin/true

shell 补全随安装自动装入(bash / zsh / fish),开箱即用。

Formulae

Formula 版本 说明
opencode 1.18.18 终端 AI 编码助手:在命令行里让 AI 帮你读代码、改代码、跑命令、提 PR;对话式协作
opencode@2 2.0.0-beta opencode 的 v2 预览版(命令名 opencode2):新架构、交互升级,仍在快速迭代
claude-code 2.1.235 Anthropic 的终端 AI 编码助手(Claude Code):对话式写代码、改代码、执行命令;首次运行自动拉取官方版本并校验完整性(License 禁随包分发)
bun 1.4.0 JavaScript/TypeScript 全家桶运行时:运行、打包、依赖管理一体化,启动极快
bun-bootstrap 1.4.0-5467a689 bun 自举构建用的预编译引导版(普通用户无需安装)
bun-webkit f0f60fd232 bun 运行时的浏览器引擎组件(内部依赖,普通用户无需关心)
llvm@21 21.1.8 本 tap 的编译器基石:几乎全部本地源码构建都依赖它,并负责给最终产物签名
ohos-bst-light 1.0.0 二进制自签工具(开发向):给本地编译的产物签名,使其能在 OHOS 上执行
ohos-compat-shim 0.5.0 系统兼容层:自动兜底 OHOS 与标准 Linux 的底层行为差异,让软件开箱即用(多数用户无感)
qemu-aarch64 11.0.1-r0 aarch64 程序运行/调试环境:在真机上运行 ARM Linux 程序,自带系统调用级跟踪(排查问题利器)
sshport 0.2.1 SSH 端口转发小工具:一条命令把远程开发机的服务端口映射到本机直接访问
starship 1.26.0 终端提示符美化/定制工具:把默认 pr