This file provides guidance to WARP (warp.dev) when working with code in this repository.
This is a Homebrew tap for Warp CLI formulae. It provides two casks:
warp-cli: Stable release of the Warp CLIwarp-cli@preview: Preview release of the Warp CLI
Both casks follow the same pattern:
- Support multi-architecture (arm64/aarch64 and x86_64/intel)
- Version format:
0.YYYY.MM.DD.HH.MM.channel_NN(e.g.,0.2025.10.01.08.12.stable_02) - SHA256 checksums for both architectures
- Download from
https://app.warp.dev/download/cliwith query parameters - Automated version checking via livecheck using
https://releases.warp.dev/channel_versions.json
- Stable cask: Installs
warp-stablebinary aswarp - Preview cask: Installs
warp-previewbinary (name unchanged)
tests.yml: Runs on push to main and PRs
- Tests on macOS 13 and 15
- Uses Homebrew's
brew test-botfor validation - Runs tap syntax checks and formula tests
- Uploads bottle artifacts for PRs
publish.yml: Triggered by pr-pull label on PRs
- Uses Homebrew's
brew pr-pullto merge bottles - Automatically pushes to main branch
- Cleans up feature branches after merge
brew install --cask --debug warpdotdev/warp/warp-clibrew uninstall --cask warp-cli
# or
brew uninstall --cask warp-cli@previewbrew audit --cask --strict Casks/warp-cli.rb
brew style Casks/warp-cli.rb- Update the
versionfield in the cask file - Calculate new SHA256 checksums:
# For ARM curl -L "https://app.warp.dev/download/cli?os=macos&package=tar&arch=aarch64&version=v<VERSION>" | shasum -a 256 # For Intel curl -L "https://app.warp.dev/download/cli?os=macos&package=tar&arch=x86_64&version=v<VERSION>" | shasum -a 256
- Update both
armandintelSHA256 values - Test the installation locally before committing
Version bumps follow this pattern (based on git history):
- Create a PR with branch name like
bump-warp-cli-<VERSION> - Update version and SHA256s in the appropriate cask file(s)
- CI will automatically test on multiple macOS versions
- After PR approval, add
pr-pulllabel to trigger automated merge
- Version bumps:
bump-warp-cli-<VERSION>orbump-warp-cli@preview-<VERSION> - Feature work:
<username>/<feature-description>
- Never push directly to main - all changes go through PRs
- Version format is critical - must match the pattern recognized by livecheck
- Both architectures must be updated together - ensure ARM and Intel builds are from the same release
- SHA256 verification is mandatory - Homebrew will reject incorrect checksums
- The main Warp application (
brew install --cask warp) lives in the official homebrew-cask repository, not here