FrankenTerm

Installation

773 words3 min read5 subsectionsFrom the README at ft 0.15.21

On this page5
Via install script (curl | bash)Why direct cargo install is not an installation pathBuild a checkout from sourceWith optional featuresRequirements

Via install script (curl | bash)

The one-liner installs a prebuilt ft binary (no Rust toolchain required) and, on Apple-Silicon macOS, the FrankenTerm.app GUI bundle:

bash
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/frankenterm/main/install.sh | bash
bash
# Force a fresh fetch past any CDN cache:
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/frankenterm/main/install.sh?$(date +%s)" | bash

What it does:

  • Downloads one DSR-published release generation for your platform, verifies its SHA-256 checksum and repository-pinned minisign signature, and stages the manifest-bound ft, mux-server, and PTY-guardian process family under ~/.local/bin (override with --dest DIR, or --system for /usr/local/bin).
  • Requires minisign for release verification (brew install minisign on macOS); the installer checks this before downloading any release artifact.
  • On macOS arm64, it also stages and proves the matching FrankenTerm.app (the GUI terminal emulator, bundled ft, mux server, and PTY guardian) at /Applications (or ~/Applications when /Applications isn't writable). Until cross-launcher lifetime serialization and PTY handoff are production-proven, the verified app remains at its generation-specific candidate path and the live app bundle is unchanged. It does not restart the Dock or add a Dock tile. Skip it with --no-app, force it with --with-app, or relocate it with --app-dest DIR.
  • Falls back to a from-source build when no prebuilt asset matches your platform (Intel Mac, uncommon targets).
Flag Effect
--version vX.Y.Z Install a specific release (default: latest)
--dest DIR / --system CLI install location (~/.local/bin default; /usr/local/bin with sudo)
--easy-mode Append ~/.local/bin to PATH in your shell rc files
--with-font Also install the bundled Pragmasevka Nerd Font
--no-app / --with-app / --app-dest DIR macOS GUI-app control (skip / force / relocate)
--from-source Build from source instead of downloading (needs Rust + git)
--offline TARBALL Install from a local tarball; no network
--activate-if-idle After publishing an upgrade, promote it only when the bounded process census remains inactive at the activation boundary. First installs use this safe-idle path by default. Active or ambiguous hosts retain the verified candidate without changing authority.
--activate ID --idle-host-confirmed Promote the published candidate generation ID (printed in the install receipt) to the current authority so ft, the mux server, and the PTY guardian resolve on PATH. It takes the permanent installer lock, requires explicit idle-host confirmation, repeats the process census, commits the shared selector last, runs stable-path readiness plus ft doctor --json, and restores the exact prior authority if readiness fails. This is an idle maintenance operation, not live-pane handoff.
--no-verify Skip the DSR minisign signature check only; SHA-256 remains mandatory (testing only)
--verify Run the published generation's ft doctor --json by immutable path; fail installation verification on a non-zero exit or malformed/oversized JSON. A passing pending-candidate self-test does not activate it.

The bundled GUI app is ad-hoc signed (not Developer-ID notarized). A curl/terminal-placed bundle isn't Gatekeeper-quarantined, so it launches normally; if you instead fetch the .app asset through a browser, clear the quarantine flag with xattr -dr com.apple.quarantine /Applications/FrankenTerm.app before first launch.

On the first launch that uses the canonical frankenterm data and cache namespaces, FrankenTerm transactionally reconstructs only validated, FrankenTerm-owned window state and remembered-domain authority from the former wezterm data leaf. It never bulk-copies that directory and never deletes old evidence. Rebuildable cache and update metadata start fresh. Plugins, REPL history, recent commands, recent emoji, unknown files, and other ownership-ambiguous state remain untouched only in the legacy leaf so a side-by-side WezTerm installation cannot be imported or overwritten.

Why direct cargo install is not an installation path

Installing only the ft Cargo binary can silently combine a new CLI with an older mux server, PTY guardian, or GUI bundle. That is not a supported FrankenTerm installation. Use the release installer above for a coherent, signed generation. Use the next section only to build an uninstalled checkout for development.

Build a checkout from source

bash
git clone https://github.com/Dicklesworthstone/frankenterm.git
cd frankenterm
bash scripts/install-hooks.sh
RCH_REQUIRE_REMOTE=1 RCH_NO_SELF_HEALING=1 rch --no-self-healing exec -- \
  env CARGO_TARGET_DIR=/tmp/ft-readme-release-interactive \
  cargo build --locked --profile release-interactive \
    -p frankenterm --bin ft \
    -p frankenterm-mux-server --bin frankenterm-mux-server \
    -p frankenterm-pty-guardian --bin frankenterm-pty-guardian

This builds an uninstalled candidate process family on the selected RCH worker. The command requests /tmp/ft-readme-release-interactive as CARGO_TARGET_DIR; RCH can remap it to a worker-scoped build directory. Consult the RCH transcript and artifact receipt for actual remote and retrieved local paths. Do not copy only ft over a live installation: the CLI, mux server, and PTY guardian are an atomic family with a shared build identity, manifest, and selector. On Apple-Silicon macOS, build the complete four-role app bundle (GUI plus that process family) with scripts/create-macos-bundle.sh; the script uses the repository's strict RCH source-fencing contract and emits FrankenTerm.app plus its component manifest.

To install a published release from source rather than merely build a checkout, use the installer path so the complete family is sealed and verified:

bash
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/frankenterm/main/install.sh \
  | bash -s -- --from-source

With optional features

bash
# MCP server support
cargo build -p frankenterm --profile release-interactive --features mcp

# Web API with SSE event/delta streaming
cargo build -p frankenterm --profile release-interactive --features web

# Distributed mode (agent streaming)
cargo build -p frankenterm --profile release-interactive --features distributed

# Semantic search (ML embeddings)
cargo build -p frankenterm --profile release-interactive --features semantic-search

# TUI dashboard (FrankenTUI backend)
cargo build -p frankenterm --profile release-interactive --features ftui

# Legacy ratatui parity oracle for development/regression checks
cargo build -p frankenterm --features tui-oracle

# Everything
cargo build -p frankenterm --profile release-interactive --all-features

Requirements

  • Rust nightly (Rust 2024 edition; see rust-toolchain.toml)
  • A reachable FrankenTerm/WezTerm-fork mux endpoint for pane discovery, live read/write, and snapshot capture. The direct pooled mux protocol is the preferred path; the external WezTerm CLI is an eligible compatibility fallback, not a universal prerequisite.
  • SQLite (bundled via rusqlite — no system dependency)