packages/app-core/packaging/homebrew/README.md
This directory contains Homebrew formula and cask definitions for elizaOS App.
elizaos-app.rb — Formula for the CLI tool (installed via npm)elizaos-app.cask.rb — Cask for the desktop app (DMG installer)Create a new repo: elizaos/homebrew-elizaos-app
Structure:
homebrew-elizaos-app/
├── Formula/
│ └── elizaos-app.rb
├── Casks/
│ └── elizaos-app.cask.rb
└── README.md
Before publishing, replace placeholder hashes:
For the cask (DMG files):
# Download and hash ARM64 DMG
curl -sL https://github.com/elizaos/elizaos-app/releases/download/v2.0.0-beta.0/ElizaOSApp-2.0.0-beta.0-arm64.dmg | shasum -a 256
# Download and hash Intel DMG
curl -sL https://github.com/elizaos/elizaos-app/releases/download/v2.0.0-beta.0/ElizaOSApp-2.0.0-beta.0.dmg | shasum -a 256
For the formula (npm tarball):
curl -sL https://registry.npmjs.org/elizaos/-/elizaos-2.0.0-beta.0.tgz | shasum -a 256
# Add tap
brew tap elizaos/elizaos-app
# Install desktop app
brew install --cask elizaos-app
# Or install CLI only
brew install elizaos-app
See the publishing guide at ../PUBLISHING_GUIDE.md for full instructions.
# Test formula syntax
brew audit --strict elizaos-app.rb
# Test cask syntax
brew audit --cask --strict elizaos-app.cask.rb
# Test installation (from local file)
brew install --formula ./elizaos-app.rb
brew install --cask ./elizaos-app.cask.rb