Files
dev/docs/HOMEBREW.md
T
James Peter 4de65f4db7 fix(tui/input): normalize KeyEvent kind on non-enhanced terminals to restore typing on Git Bash/mintty (Windows)
This maps Release-only key events to Press when keyboard enhancement flags are unsupported, fixing unresponsive input and Ctrl+C on some Windows terminals.

Closes #18. Closes #14.
2025-09-03 21:44:29 +10:00

797 B

Homebrew (macOS)

This repository now includes a helper script to generate a Homebrew formula from the latest GitHub release artifacts. Publishing to Homebrew requires a tap repository (for example, just-every/homebrew-tap). Once a tap exists, you can generate and publish the formula like so:

  1. Generate the formula for the latest version:
scripts/generate-homebrew-formula.sh
  1. Copy the generated Code.rb into your tap repo under Formula/Code.rb and update the url/sha256 if needed.

  2. Users can then install with:

brew tap just-every/tap
brew install code

Notes

  • The formula expects release assets named like:
    • code-aarch64-apple-darwin.tar.gz
    • code-x86_64-apple-darwin.tar.gz
  • The CLI is installed as code and coder shims for compatibility.