Installation¶
Shipping builds¶
Most people want a released build, not a source checkout.
Linux (Ubuntu Noble / Pop!_OS 24.04+) — add the apt.stridelabs.ai
apt repo once, then install:
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://apt.stridelabs.ai/pubkey.gpg | sudo tee /etc/apt/keyrings/apt-charliek.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/keyrings/apt-charliek.gpg] https://apt.stridelabs.ai noble main' | sudo tee /etc/apt/sources.list.d/apt-charliek.list
sudo apt update
sudo apt install roost # installs the `roost` UI + the `roostctl` CLI
For a one-off install without adding the repo, grab the .deb from
the latest GitHub release
and install it with apt, substituting the version and architecture you
downloaded — e.g. sudo apt install ./roost_0.0.18_amd64.deb.
macOS — download Roost-<version>.dmg from the
latest GitHub release,
open it, and drag Roost.app into /Applications. Release DMGs
are Developer-ID signed and notarized by Apple, so
Roost opens with a normal double-click — no Gatekeeper detour.
Roost.app is the Rust + iced UI, the same codebase Linux ships, with
the full agent-facing surface (roostctl open/wait/events, tab prompt,
the Claude skill).
Before v0.1.0 Roost.app was a Swift + AppKit build; that app is retired. It
keeps the same bundle id (ai.stridelabs.Roost) and the same state paths, so
an existing install updates in place through Sparkle and keeps its projects,
socket and logs.
Roost-Iced.app users¶
Roost-Iced.app (bundle id ai.stridelabs.Roost.iced) was the experimental
iced build published beside the Swift app. It cannot update itself into
Roost.app: its Check for Updates… now shows a notice pointing here
instead of offering an update. Switch by hand:
- Install
Roost.appfrom the DMG above. - Quit both apps, then delete
Roost-Iced.app. - Re-run
roostctl agent install. Agent hooks written earlier point atRoost-Iced.app's copy ofroostctl, which no longer exists once the app is deleted. - Optionally copy your projects and tabs across. Roost-Iced kept them in
its own directory, and
Roost.appdoes not read it:
-n keeps any state.json that Roost.app already has, from the Swift
app or from a first launch; move that one aside first if you want
Roost-Iced's instead. Run it while both apps are quit. Your config (~/.config/roost/config.conf) is shared
and needs nothing.
Dev builds (make bundle-iced) are still named Roost-Iced.app and still
use the separate Roost-iced paths, so they run beside an installed
Roost.app; see Paths & Environment.
Updating¶
- macOS.
Roost.appchecks for updates through Sparkle once a day in the background, and you can check any time with Check for Updates… in the app menu. When a new version is out, Sparkle shows its release notes and asks before installing. It installs without asking only if you opt in to automatic installs in that update alert. The feed (appcast.xml) is served from this documentation site. - Linux. Updates come from apt:
sudo apt update && sudo apt upgrade(or justsudo apt install --only-upgrade roost). The package upgrades in place — same socket,state.json, and log paths as the version it replaces.
The rest of this page covers building from source.
Building from source¶
Roost ships one UI, Rust + iced, on both platforms. It embeds the
workspace + PTY supervisor in-process and serves a JSON IPC
socket for external tooling (roostctl, Claude Code hooks):
| Platform | UI | How it builds |
|---|---|---|
| macOS | Rust + iced (Roost.app) |
ROOST_BUNDLE_IDENTITY=production mac/scripts/bundle-iced.sh (release pipeline); make bundle-iced for the dev Roost-Iced.app |
| Linux | Rust + iced (roost) |
cargo build -p roost-iced -p roost-cli; the .deb adds --features roost-iced/linux-package |
The roost-iced UI, the roostctl CLI, the JSON IPC crate, and the
libghostty-vt FFI all live in one Cargo workspace under crates/.
The Linux .deb ships the iced UI as /usr/bin/roost. The
linux-package Cargo feature is the only difference between a dev build
and the packaged one: it flips the compiled-in bundle profile to Linux,
so the installed binary resolves the production socket / state.json /
log paths every previous Linux release used. See
Paths & Environment.
mac/scripts/bundle-iced.sh embeds target/<config>/roostctl under
<app>/Contents/Resources/bin/roostctl so a packaged .app is
self-contained: that is the binary each tab's $ROOST_AGENT_HOOK points
at, and the one the shell integration and agent hooks run.
Prerequisites¶
| Tool | Purpose | Pinned version |
|---|---|---|
| Rust | CLI + the iced UI | 1.97.1 (via mise) |
| Zig | Builds libghostty-vt from the vendored Ghostty source |
0.17.x (via mise) |
| Xcode Command Line Tools | Builds the Mac UI and bundle | macOS only |
libclang-dev + pkg-config |
Build-time deps of the Rust UI's FFI bindings | Linux only |
mise |
Manages the pinned Rust + Zig versions | any |
macOS¶
Install system packages:
Recommended: JetBrains Mono. Roost defaults to its bundled JetBrains Mono; this
is the family the docs' examples set via font-family (see
Fonts).
Clone the repo and provision the toolchain:
Build libghostty-vt once (idempotent on cache hit):
Build the roostctl CLI:
Bundle the dev Mac .app (this builds and embeds roostctl and
roost-session for you):
A dev bundle resolves the isolated Iced bundle profile, so it will not
touch an installed Roost.app's state, and it deliberately carries no
Sparkle feed URL (only the release pipeline stamps one in), so Check for
Updates… does nothing in a local build. The shipped Roost.app is the same
script run with ROOST_BUNDLE_IDENTITY=production, which needs the feed URL
and public key (ROOST_BUNDLE_SPARKLE_FEED_URL,
ROOST_BUNDLE_SPARKLE_ED_PUBLIC_KEY) and is normally left to CI.
macOS 26 (Tahoe) libghostty-vt shim¶
third_party/ghostty/build.sh ships an arm64-macos SDK shim. When it detects macOS 26+ on Apple Silicon with an arm64e-only system SDK, it redirects Zig's SDK lookup to a sibling MacOSX1[45].sdk for the duration of the zig build call. Xcode Command Line Tools usually keeps one prior major SDK installed; reinstall (xcode-select --install) if you hit the no sibling MacOSX1[45].sdk error.
Linux (Ubuntu / Debian)¶
This section builds the iced UI from source. If you just want to use
Roost, install the .deb — see Shipping builds above.
System packages:
That is the whole build-time set. At run time the UI needs winit's
keyboard/window client libraries and a wgpu backend; on a normal desktop
they are already installed, and the .deb declares them explicitly
(libxkbcommon0, libxkbcommon-x11-0, libwayland-client0, libx11-6,
libx11-xcb1, libxcb1, libxcursor1, libxi6, plus libegl1 +
libwayland-egl1 for the GLES fallback). Vulkan is recommended, not
required — with no usable Vulkan ICD, wgpu falls back to its compiled-in
software renderer and the app still opens a window. Both Wayland and X11
sessions are supported.
Recommended font:
mise install (one-time, see the official instructions):
Clone and provision:
Build libghostty-vt:
Build the Linux UI and CLI:
Run it:
A build without --features roost-iced/linux-package resolves the
isolated Iced bundle profile, so it runs beside an installed roost
without touching its state — see
Paths & Environment.
Building the .deb package¶
The packaged .deb is the same binary built with
--features roost-iced/linux-package, installed as /usr/bin/roost,
plus roostctl. With mise install and ./third_party/ghostty/build.sh
already done (above) and nfpm on PATH:
See linux/README.md and
packaging/nfpm.yaml for what the
package contains.
CLI on PATH¶
Install roostctl so it's reachable from any shell (Claude Code hooks call it without a full path):
Verifying the install¶
With the UI running:
Prints key=value lines with the running UI's socket path, PID, and active project / tab IDs. If you see a connection error, the UI isn't running or the socket path is wrong — see Paths & Environment.
Updating¶
When the pinned Ghostty SHA changes, re-build libghostty-vt:
--force discards the cached Ghostty source tree and re-clones at the new SHA. After it finishes, the Mac UI's next bundle-iced.sh run picks up the new archive automatically.