Crates / terminal_size / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to terminal_size
Short answerThe closest alternatives to terminal_size on crates.io data are console (1.1M real downloads a day), anstyle (2.6M real downloads a day), anstream (2.5M real downloads a day). Of the 8 we list, the most used is anstyle, and 7 shipped a release in the last year. terminal_size itself gets 513,098 a day with 791 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs terminal_size | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| console Widely used | 1,086,966 | 2.12x | 2,339 | 44d | keyword "console", keyword "terminal" | side by side |
| anstyle Established | 2,632,269 | 5.13x | 607 | 7mo | keyword "terminal" | compare |
| anstream Established | 2,459,829 | 4.79x | 428 | 8mo | keyword "terminal" | compare |
| anstyle-parse Pulled in | 2,444,259 | 4.76x | 27 | 8mo | keyword "terminal" | compare |
| colorchoice Pulled in | 2,364,472 | 4.61x | 14 | 7mo | keyword "terminal" | compare |
| anstyle-query Pulled in | 2,326,326 | 4.53x | 26 | 11mo | keyword "terminal" | compare |
| anstyle-wincon Pulled in | 1,260,142 | 2.46x | 3 | 11mo | keyword "terminal" | compare |
| termcolor Established | 992,160 | 1.93x | 658 | 2.8y | keyword "console" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with terminal_size; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For terminal_size: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with terminal_size, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Widely used and losing ground. 1,086,966 real downloads a day.consoleRust crate. A terminal and console abstraction for Rust. Real use: 1.1M downloads a day on quiet days; 2,339 crates depend on it.Read it next →Also worth your time