Prerequisite:
gaydelegates directly toagy. Installantigravity-clifirst and make sureagyis in yourPATH.
- Zero resident overhead on Unix: Pure POSIX
#!/bin/shwithexec agy "$@", replacing the wrapper process in-place (~1ms startup, 0 bytes resident RAM, 100% native TTY/TUI/signals). - All platforms out of the box: Native implementations for macOS, Linux, and Windows (PowerShell & CMD), plus zero-dependency GitHub
npminstall. - Zero runtime dependencies: Auditable scripts with no unsigned binaries and no SmartScreen/Gatekeeper warnings.
- Transparent passthrough: Only
--yolois rewritten (stopped after--); top-level-h/--helpprepends a separatedgay-clialias header beforeagy --help, and every other flag, subcommand, space, quote, and exit code passes straight through toagy. - Clean interactive handoff: Automatically clears the
gay/gay --yolotrigger line on interactive TTY consoles before launchingagy(leaves pipes,--help,-p/--print, and subcommands untouched; setGAY_NO_CLEAR=1to opt out).
Homebrew (macOS / Linux)
brew install daftAI2026/tap/gaymacOS / Linux (script)
curl -fsSL https://raw.githubusercontent.com/daftAI2026/gay-cli/main/install.sh | shWindows (PowerShell)
irm https://raw.githubusercontent.com/daftAI2026/gay-cli/main/install.ps1 | iexnpm (GitHub)
npm install -g github:daftAI2026/gay-cliWith an AI agent
Tell your agent (Antigravity, Claude Code, Codex, Cursor, etc.):
Install gay-cli for me by reading https://raw.githubusercontent.com/daftAI2026/gay-cli/main/llms.txt
Run
gay # Launch agy
gay --yolo # agy --dangerously-skip-permissions
gay --yolo -c # Continue last session in yolo mode
gay --yolo -p "refactor this" # All flags & quoted prompts pass through intact
gay -- --yolo # Stop rewriting after --
gay --help # Show gay aliases + native agy helpOther install & uninstall options
Install to a custom directory on macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/daftAI2026/gay-cli/main/install.sh | sh -s -- --prefix "$HOME/.local/bin"Uninstall on macOS / Linux:
brew uninstall gay # if installed via Homebrew
rm -f "${GAY_INSTALL_DIR:-$HOME/.local/bin}/gay" # if installed via scriptUninstall on Windows (PowerShell):
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\gay"Uninstall if installed via npm:
npm uninstall -g gay-cli| Platform / Channel | Entrypoint | Mechanism | Resident RAM |
|---|---|---|---|
| macOS / Linux / WSL | bin/gay |
POSIX /bin/sh + exec agy "$@" |
0 B |
| Windows (CMD / PowerShell) | bin/gay.cmd + bin/_gay.ps1 |
System PowerShell (-ExecutionPolicy Bypass) |
Native console |
GitHub npm i -g |
bin/gay.mjs (compiled from src/gay.mts) |
Strict TypeScript -> zero-dep Node ESM (SIGINT-safe) |
Cross-platform shim |
npm install # Install TypeScript devDependencies (zero runtime deps)
make build # Compile src/gay.mts -> bin/gay.mjs
make test # Run Unix end-to-end test suite (30 assertions)
make check # Static checks (sh -n, node --check, tsc --noEmit)
make install # Local install to ~/.local/bin/gay