### Install Boo CLI Source: https://github.com/coder/boo/blob/main/README.md Installs the Boo CLI using a curl script for Linux and macOS. You can optionally set environment variables to specify the version and installation directory. ```sh curl -fsSL https://raw.githubusercontent.com/coder/boo/main/install.sh | sh ``` -------------------------------- ### Boo Automation Workflow Source: https://github.com/coder/boo/blob/main/README.md An example of an automation loop using Boo CLI commands to create a headless session, send input, wait for output to settle, read the screen, and clean up. ```sh boo new build -d -- bash # 1. headless session boo send build --text 'make' --enter # 2. type into it boo wait build --idle # 3. let output settle boo peek build --scrollback # 4. read the screen boo kill build # 5. clean up ``` -------------------------------- ### Build and Develop with Nix Source: https://github.com/coder/boo/blob/main/README.md Opens a development shell with the correct Zig version and builds the package using Nix. The built package will be at ./result/bin/boo. ```sh nix develop nix build ``` -------------------------------- ### Build Boo with Zig Source: https://github.com/coder/boo/blob/main/README.md Builds the Boo binary and runs various test suites using Zig. The binary will be located in zig-out/bin/boo. ```sh zig build # binary in zig-out/bin/boo zig build test # unit tests zig build test-integration # end-to-end tests on a real PTY zig build test-all # everything ``` -------------------------------- ### Boo CLI Basic Usage Commands Source: https://github.com/coder/boo/blob/main/README.md Common commands for managing Boo sessions, including creating new sessions, listing existing ones, attaching to them, renaming, and killing sessions. ```sh boo new # new session running $SHELL, attached boo new work # named session boo new work -d -- make # create detached, running a command boo ui # manage sessions in a full-screen UI (alias: i) boo ls # list sessions boo attach work # reattach (alias: at, a) boo rename work api # rename a session boo kill work # end a session boo kill --all # end every session ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.