This repository is a Homebrew tap for Libra, an AI agent-native version control system with Git on-disk compatibility.
brew tap libra-tools/libra
brew install libra
libra --versionbrew update
brew upgrade librabrew uninstall libra
brew untap libra-tools/libraThe formula installs prebuilt Libra binaries from
https://github.com/libra-tools/libra/releases and verifies the published
SHA-256 digest for each supported platform.
This tap keeps Formula/libra.rb pointed at the latest released Libra version.
To install an older version, install the formula from the tap commit that
updated Libra to that version:
brew install https://raw.githubusercontent.com/libra-tools/homebrew-libra/<commit-sha>/Formula/libra.rbFind the commit for a version with:
git clone https://github.com/libra-tools/homebrew-libra.git
cd homebrew-libra
git log --oneline -- Formula/libra.rbRelease automation should use commit messages in this format so versions are easy to find:
Update libra to v0.17.1446
The libra repository release workflow can update this tap after publishing
GitHub Release assets:
scripts/update-formula.sh \
v0.17.1446 \
<sha256-for-libra-darwin-arm64> \
<sha256-for-libra-linux-amd64> \
<sha256-for-libra-linux-arm64>Then commit the result directly to this repository's main branch:
git add Formula/libra.rb
git commit -m "Update libra to v0.17.1446"
git push origin mainRun the local script test with:
bash test/update-formula-test.sh