Homebrew tap for the Movement CLI - a command-line tool for interacting with the Movement blockchain.
brew tap MoveIndustries/movement
brew install movementbrew upgrade movement- macOS (Apple Silicon / ARM64)
- macOS (Intel / x86_64)
- Linux (x86_64)
After running the Release CLI workflow to publish a new version, you need to update this tap with the new version and SHA256 checksums.
The update-formula.sh script automates the entire process:
-
Downloads the release binaries from GitHub for all platforms:
movement-cli-<version>-macOS-arm64.zipmovement-cli-<version>-macOS-x86_64.zipmovement-cli-<version>-Linux-x86_64.zip
-
Calculates the SHA256 checksum for each binary
-
Updates
Formula/movement.rbwith:- The new version number
- The new SHA256 checksums for each platform
-
Clone this repo (if you haven't already):
git clone https://github.com/MoveIndustries/homebrew-movement.git cd homebrew-movement -
Run the update script with the new version number (must match the release tag):
./update-formula.sh <version>
Example:
./update-formula.sh 7.5.0
You'll see output like:
Updating formula for version 7.5.0... Downloading macOS ARM64... SHA256: abc123... Downloading macOS x86_64... SHA256: def456... Downloading Linux x86_64... SHA256: ghi789... Updating Formula/movement.rb... Done! Run 'git diff' to review changes. -
Review the changes:
git diff
-
Commit and push:
git add Formula/movement.rb git commit -m "Update movement to <version>" git push
Users can then run brew upgrade movement to get the new version.