Installation
FrankenTUI is distributed as a Cargo workspace. There is no standalone installer (yet), so installation is either “clone the source” or “add it as a workspace dependency.” This page covers all three paths and the prerequisites they share.
The audience for this page is anyone who hasn’t yet run
cargo run -p ftui-demo-showcase. If you’ve already built the workspace,
skip to quick run or
project setup.
Expect installation to take under a minute once you have a nightly Rust toolchain installed. The first build takes a few minutes; subsequent builds are incremental.
Prerequisites
FrankenTUI requires nightly Rust, pinned via rust-toolchain.toml.
If your terminal shows errors like the option '-Z' is only accepted on the nightly compiler, you are on stable — install nightly and let the
toolchain file select it.
Install rustup
If you don’t already have it:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shInstall a nightly toolchain
rustup toolchain install nightly
rustup component add rust-src --toolchain nightlyThe workspace’s rust-toolchain.toml selects nightly automatically when
you build inside the checkout, so you don’t need to run rustup default.
(Optional) install supporting tools
For full verification, snapshot blessing, and the doctor_frankentui
stack:
cargo install cargo-insta # snapshot test review
cargo install cargo-llvm-cov # coverage gate
# `jq` and `rg` via your system package managerInstall paths
git clone
The normal path for contributors and anyone running the demo showcase.
git clone https://github.com/Dicklesworthstone/frankentui.git
cd frankentui
cargo build --releaseThen run the showcase:
cargo run -p ftui-demo-showcaseSee quick run for demo-view selection and the full env-var reference.
crates.io (partial)
Currently available on crates.io:
ftui-coreftui-layoutftui-i18n
The remaining 17 crates are in the publish queue (render, runtime, widgets, and the rest). Until those land, prefer workspace path dependencies for the full stack.
[dependencies]
ftui-core = "0.3" # published
ftui-layout = "0.3" # published
# remaining crates: use path dependenciesVerify your install
# Build the whole workspace (a few minutes first time)
cargo check --workspace --all-targets
# Run the demo showcase
cargo run -p ftui-demo-showcaseYou should see the demo showcase’s main menu in your terminal. If you see
the option '-Z' is only accepted on the nightly compiler, you are on
stable — re-check the nightly toolchain install above.
Troubleshooting
Terminal corrupted after a panic. FrankenTUI uses RAII cleanup via
TerminalSession. If you see a broken terminal, make sure you are not
force-killing the process. Run reset to recover, and file a bug if
you can reproduce.
No mouse events. Mouse reporting must be enabled both in the
session (default in the showcase) and in your terminal emulator. Set
FTUI_HARNESS_ENABLE_MOUSE=true if running the harness and check that
your terminal isn’t intercepting mouse events.
Output flickers on a multiplexer. Inline mode uses DEC 2026 synchronized output where supported. Very old terminals or tmux builds without sync-output support will fall back to overlay redraw. Update your multiplexer, or accept the reduced capability.