Repolode
orhun

orhun/cargo-tree-tui

An interactive terminal UI for browsing a Rust project's dependency graph as a navigable tree, run via cargo tree-tui.

Stars
56
Forks
10
Open issues
0
Last commit
5 days ago

What is it?

cargo-tree-tui is a terminal user interface for exploring the dependency graph of a Rust project. It is invoked as a cargo subcommand from the root of a Cargo project, opening an interactive tree view of the crates your project depends on.

Where the standard cargo tree command prints a static listing, this tool lets you move through the dependency hierarchy interactively, which is useful when a project pulls in many transitive crates and you need to see which path brings in a particular one. It is built on ratatui, a Rust library for terminal interfaces.

The project is installable from crates.io with cargo install, or directly from its Git repository. Its homepage links to the Rust project goals page on interactive cargo tree, and the author has given a conference talk about the tool.

Key features

  • 01Interactive, navigable tree view of Cargo dependencies
  • 02Runs as a cargo subcommand (cargo tree-tui) in any Cargo project
  • 03Built on the ratatui terminal UI library
  • 04Installable from crates.io or directly from Git

Use cases

  • Finding which dependency path pulls in a particular transitive crate
  • Exploring the structure of a large Rust workspace with many dependencies
  • Inspecting a project's dependency tree without leaving the terminal

Quick start

  1. 1

    Install the tool with cargo

    cargo install cargo-tree-tui
  2. 2

    Run it from the root of your Cargo project

    cargo tree-tui

Things to know

  • The license metadata says Apache-2.0, while the README says MIT OR Apache-2.0.

In collections

Topics

FAQ

What is cargo-tree-tui?
An interactive terminal UI for browsing a Rust project's dependency graph as a navigable tree, run via cargo tree-tui. cargo-tree-tui is a terminal user interface for exploring the dependency graph of a Rust project. It is invoked as a cargo subcommand from the root of a Cargo project, opening an interactive tree view of the crates your project depends on.
Is cargo-tree-tui free to use? What license does it have?
cargo-tree-tui is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is cargo-tree-tui still maintained?
Actively maintained. The last commit to cargo-tree-tui was on Nov 2, 2026.
What can I use cargo-tree-tui for?
Finding which dependency path pulls in a particular transitive crate Exploring the structure of a large Rust workspace with many dependencies Inspecting a project's dependency tree without leaving the terminal
How do I install cargo-tree-tui?
Install the tool with cargo: cargo install cargo-tree-tui Run it from the root of your Cargo project: cargo tree-tui
Where can I get cargo-tree-tui?
The source code and installation instructions are on GitHub: https://github.com/orhun/cargo-tree-tui

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects