Docs / Getting Started / Package Maintainers

🔗Package Maintainers

This guide covers building and packaging Boxxy Terminal for Linux distributions (Nix, Arch AUR, Fedora/RPM, Debian/APT, Gentoo, etc.). You can also reference our official Nix package definition in flake.nix and nix/package.nix.


🔗Continuous Release Model

Boxxy follows a =continuous development and release model=. Fixes, UI improvements, and AI provider updates land frequently on main.

Because upstream moves quickly, distro packages should stay up to date with recent releases so users don't run into stale provider integrations or miss important fixes.


🔗Build Requirements


🔗Building & Disabling Self-Updates

When Boxxy is distributed through a package manager, updates are the package manager's responsibility — the built-in self-updater must be disabled at compile time with the disable-self-update feature:

GIT_HASH=<short-commit-hash> \
  cargo build --release -p boxxy-app -p boxxy-agent --features disable-self-update

🔗Installing Binaries & Desktop Files

Build and install both boxxy-terminal and boxxy-agent into the same directory (for example, /usr/bin/boxxy-terminal and /usr/bin/boxxy-agent). On native installs, boxxy-terminal locates boxxy-agent beside its own executable.

Install the desktop metadata and icon:

install -Dm755 target/release/boxxy-terminal "$PREFIX/bin/boxxy-terminal"
install -Dm755 target/release/boxxy-agent "$PREFIX/bin/boxxy-agent"

install -Dm644 flatpak/dev.boxxy.BoxxyTerminal.desktop \
  "$PREFIX/share/applications/dev.boxxy.BoxxyTerminal.desktop"
install -Dm644 flatpak/dev.boxxy.BoxxyTerminal.metainfo.xml \
  "$PREFIX/share/metainfo/dev.boxxy.BoxxyTerminal.metainfo.xml"
install -Dm644 resources/icons/dev.boxxy.BoxxyTerminal.png \
  "$PREFIX/share/icons/hicolor/256x256/apps/dev.boxxy.BoxxyTerminal.png"

🔗Shell Completions (Optional)

You can generate completion scripts for bash, zsh, fish, and nushell directly from the compiled binary:

boxxy-terminal +completions bash
boxxy-terminal +completions zsh
boxxy-terminal +completions fish
boxxy-terminal +completions nushell

🔗Telemetry

Boxxy includes a privacy-first, open-source Telemetry system (enable_telemetry: true by default). It collects zero PII and feeds the public Live Dashboard, including distro installation metrics. Users can disable it at any time in Preferences → About, which immediately stops exporting and purges any unsent local events.

We recommend keeping telemetry enabled by default so distro users are represented and issues surface faster. If your distribution's policy requires telemetry to be off by default, change enable_telemetry: false in Settings::default() inside crates/preferences/src/config.rs — this preserves the toggle in Preferences so users can still opt in if they choose.


🔗Boxxy News

Boxxy includes Boxxy News, a lightweight in-app announcement feed for release highlights and important notices.

Because Boxxy News has no tracking and helps keep users informed under our continuous release model, please leave it enabled by default. If your distribution enforces strict offline-by-default rules, the default lives in default_enable_broadcasts() in crates/preferences/src/config.rs.