Download Ratatui for Rust Development

Ratatui is a Rust library, so you install it with Cargo rather than an installer. Here are the official ways to get version 0.30.2, plus release facts and platform support.

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:

Terminal
cargo add ratatui

Cargo records the dependency in Cargo.toml and downloads it on the next build:

Cargo.toml
[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

Source code (ZIP)

Main branch snapshot
  • Repositoryratatui/ratatui
  • IncludesAll crates and examples
  • Buildcargo build

GitHub releases

Tagged versions and notes
  • Latest tagratatui-v0.30.2
  • AssetsSource archives
  • NotesFeatures, fixes, breaking changes

Git clone

For contributors and explorers
  • Commandgit clone
  • Run examplescargo run --example
  • Docsdocs.rs/ratatui
Clone and explore
git clone https://github.com/ratatui/ratatui.git
cd ratatui
ls examples                    # list the runnable examples
cargo run --example <name>     # run one of them

Stable Release and Version Information

Ratatui release facts (checked against crates.io metadata)
FieldValue
Crateratatui
Latest stable version0.30.2
Release dateJune 19, 2026
Minimum supported Rust version1.88.0
LicenseMIT
Default backendcrossterm 0.29 (via ratatui-crossterm)
Documentationdocs.rs/ratatui
Repositorygithub.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.

Crates in the Ratatui workspace
CrateVersion used by 0.30.2Purpose
ratatui-core0.1.2Buffer, layout, style, text and the Widget traits
ratatui-widgets0.3.2Built-in widgets such as Table, Chart and Gauge
ratatui-crossterm0.1.2Default crossterm backend
ratatui-termion / -termwiz / -terminaoptionalAlternative backends
ratatui-macros0.7.2Macros 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:

Cargo.toml (termion backend)
[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

Backend support by operating system
Platformcrosstermtermiontermwiztermina
Windows 10 / 11YesNoYesYes
LinuxYesYesYesYes
macOSYesYesYesYes
BSDVariesYesVariesVaries
Same Ratatui app in Windows Terminal, GNOME Terminal and macOS Terminal
Illustrative: one build target per platform, the same source code.

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:

Terminal
cargo install cargo-audit
cargo audit
cargo tree -p ratatui

Offline 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.

Terminal
cargo vendor vendor > .cargo/config.toml
cargo build --offline

Remove or Downgrade Ratatui

Terminal
cargo remove ratatui            # remove the dependency
cargo add [email protected]        # pin an older release if required

Downgrading may require code changes because APIs differ between minor versions. Check the changelog for the versions involved.