Ratatui Is a Library, Not a Desktop Application
Ratatui does not ship an installer, an .exe or a .dmg. It is a Rust crate that becomes part of the program you compile. "Downloading Ratatui" therefore means adding it as a dependency so Cargo can fetch it from crates.io, or cloning the source code from GitHub to read, test or contribute to it. Any site offering a "Ratatui.exe" is not distributing the real project.
Every download button on this page points to an official source: crates.io, docs.rs or the ratatui/ratatui repository on GitHub. We do not host copies of the crate.
Quick Install with Cargo
Inside an existing Cargo project, one command adds the latest compatible release with the default crossterm backend:
cargo add ratatuiCargo records the dependency in Cargo.toml and downloads it on the next build:
[dependencies]
ratatui = "0.30.2"New to Rust? Follow the step-by-step installation guide on our homepage, which covers rustup, project creation and a complete Hello World program.
Download Options
crates.io package
For applications and libraries- Version0.30.2
- Method
cargo add ratatui - LicenseMIT
Source code (ZIP)
Main branch snapshot- Repositoryratatui/ratatui
- IncludesAll crates and examples
- Build
cargo build
GitHub releases
Tagged versions and notes- Latest tagratatui-v0.30.2
- AssetsSource archives
- NotesFeatures, fixes, breaking changes
Git clone
For contributors and explorers- Command
git clone - Run examples
cargo run --example - Docsdocs.rs/ratatui
git clone https://github.com/ratatui/ratatui.git
cd ratatui
ls examples # list the runnable examples
cargo run --example <name> # run one of themStable Release and Version Information
| Field | Value |
|---|---|
| Crate | ratatui |
| Latest stable version | 0.30.2 |
| Release date | June 19, 2026 |
| Minimum supported Rust version | 1.88.0 |
| License | MIT |
| Default backend | crossterm 0.29 (via ratatui-crossterm) |
| Documentation | docs.rs/ratatui |
| Repository | github.com/ratatui/ratatui |
Ratatui is still in the 0.x series, so a change in the minor number (0.29 → 0.30) can include breaking API changes, while patch releases (0.30.1 → 0.30.2) contain fixes and additive features. Release 0.30.2 added the termina backend, restored Send and Sync for widgets affected by 0.30.1's shadow support, and fixed scrollbar and wide-character rendering edge cases.
Workspace Crates Behind the ratatui Package
Since 0.30 the project is split into smaller crates. Most applications depend only on ratatui, which re-exports the others. Widget library authors can depend on ratatui-core alone for a more stable API surface.
| Crate | Version used by 0.30.2 | Purpose |
|---|---|---|
| ratatui-core | 0.1.2 | Buffer, layout, style, text and the Widget traits |
| ratatui-widgets | 0.3.2 | Built-in widgets such as Table, Chart and Gauge |
| ratatui-crossterm | 0.1.2 | Default crossterm backend |
| ratatui-termion / -termwiz / -termina | optional | Alternative backends |
| ratatui-macros | 0.7.2 | Macros such as constraints!, line! and span! |
Feature Flags
Default features are all-widgets, crossterm, layout-cache, macros and underline-color. Turn them off with default-features = false and opt back in to what you need:
[dependencies]
ratatui = { version = "0.30.2", default-features = false, features = ["termion", "all-widgets"] }serde: serialize and deserialize styles, colors and other types.palette: convert colors using the palette crate.scrolling-regions: use terminal scrolling regions for inline viewports.crossterm_0_28/crossterm_0_29: pick the crossterm version when you must match another dependency.unstable-*: opt in to APIs that may change without a major bump.
Platform Compatibility
| Platform | crossterm | termion | termwiz | termina |
|---|---|---|---|---|
| Windows 10 / 11 | Yes | No | Yes | Yes |
| Linux | Yes | Yes | Yes | Yes |
| macOS | Yes | Yes | Yes | Yes |
| BSD | Varies | Yes | Varies | Varies |

Verify the Download and Audit Dependencies
Cargo downloads crates over HTTPS and checks each archive against the checksum stored in Cargo.lock. Commit that lockfile for applications so every build uses identical bytes. For an extra layer, scan the dependency tree:
cargo install cargo-audit
cargo audit
cargo tree -p ratatuiOffline and Air-Gapped Builds
cargo vendor copies every dependency into a local folder and prints the configuration needed to build without network access, which is useful for CI caches and restricted environments.
cargo vendor vendor > .cargo/config.toml
cargo build --offlineRemove or Downgrade Ratatui
cargo remove ratatui # remove the dependency
cargo add [email protected] # pin an older release if requiredDowngrading may require code changes because APIs differ between minor versions. Check the changelog for the versions involved.