Installation
The installer downloads the executable for your platform from the latest release, verifies its checksum, and saves it to ~/.local/bin (macOS and Linux) or %LOCALAPPDATA%\Programs\waibee (Windows).
If the install folder is not on your PATH, the installer adds it. On macOS and Linux it appends a line to ~/.zshrc, ~/.bashrc, or ~/.profile, depending on your shell; on Windows it adds the folder to your user PATH. The waibee command is available in new terminal windows. In the current one, source that file or open the terminal again.
Environment variables change how the installer behaves:
| Variable | What it does |
|---|---|
WAIBEE_INSTALL_DIR | A different install folder. Without it, macOS and Linux use XDG_BIN_HOME if it is set |
WAIBEE_VERSION | Install a specific version, such as v1.2.3, instead of the latest |
WAIBEE_NO_MODIFY_PATH | Leave PATH alone: the installer only prints what to add |
Prebuilt binaries
Section titled “Prebuilt binaries”To install by hand, download the archive for your platform from the repository’s releases page. Builds are available for macOS (ARM and Intel), Linux (x86_64 and ARM64, plus a separate x86_64 musl build for Alpine), and Windows (x64 and ARM64). The checksums are there too: a .sha256 file for each archive and a combined SHA256SUMS.
Verifying the installation
Section titled “Verifying the installation”waibee doctor checks your system, settings, API key, and connection to Waibee Router. If any check fails, the command exits with code 1. Right after installation there is no API key yet, so the “API key” check fails: set a key as described in the Quickstart and run waibee doctor again.
Updating
Section titled “Updating”By default, the TUI checks for a new version every time it starts. How the new version gets installed depends on how you installed the agent and where it runs:
- Installer or release archive, TUI. The agent downloads the new version, verifies its checksum, replaces the executable, and restarts. Press
Ctrl+Con the update screen to skip the update and start the current version. - Package manager. The agent does not replace the file itself; it prints that package manager’s update command. If the installed version is below the minimum supported one, the agent exits and prints that command.
- IDE over ACP. The new version installs in the background and takes effect on the next start.
waibee run. Installs nothing and only notes the new version in the log. In scripts and CI, update explicitly.
Without a network connection, the agent starts on the version it has. To turn off automatic checks, see the update settings.
If a new version comes out while a session is open, the status line tells you, and /update installs it and restarts the TUI. When you start the TUI on a new version after running an older one, it opens the changelog; to see it at any time, use /changelog.
waibee update # check onlywaibee update --install # download and installwaibee update --install --force # reinstall even if this is the latest versionwaibee update --channel beta # check another channel: stable, beta, or nightlyWithout --channel, the channel comes from updates.channel. waibee update --install does not restart anything that is already running: open sessions stay on the old version until they restart.
Uninstalling
Section titled “Uninstalling”- Run
waibee auth logoutto delete the saved API key. - Delete the executable:
~/.local/bin/waibeeor%LOCALAPPDATA%\Programs\waibee\waibee.exe. - If you no longer need your sessions, memory, and settings, delete the data directory:
~/.waibeeon macOS and Linux,%APPDATA%\waibeeon Windows. For what it contains, see The .waibee directory.