CLI Tool Utilities & Power Tools ★ 4,272 stars on GitHub

crossterm

Crossterm is a pure tool library for writing text-based user interfaces that work seamlessly across Windows and UNIX systems.

Get Command-Line Tool →
Command-Line Utility (No Graphical Interface): This program runs inside your system terminal or command prompt rather than opening a desktop window. Follow the official installation instructions below.

Guide and Overview

What it does in plain English

Crossterm lets you build interactive text-based programs that run smoothly on different computer operating systems. It handles the tricky low-level details of talking to different command-line windows so your text interfaces look and behave correctly everywhere. You can easily control text colors, move the cursor around, and listen for mouse or keyboard clicks without worrying about platform differences.

Who it’s for

  • Software creators looking to design command-line tools that work identically on Windows and Linux or macOS.
  • Programmers who want reliable control over terminal colors, cursor movements, and window resizing events.

Key features

  • Works smoothly across UNIX environments and Windows operating systems.
  • Gives you complete control over text styling, foreground and background colors, and special formatting.
  • Manages cursor positioning, visibility, and movement commands with ease.
  • Captures keyboard presses, mouse clicks, dragging, and window resize events reliably.
  • Operates efficiently with minimal extra dependencies and thorough documentation.

How to install (Download)

To use this library in your projects, visit the official setup page on Crates.io Registry.

Pros and Cons

  • Pros: Free forever, open-source, highly portable across operating systems, and lightweight.
  • Cons: Requires programming knowledge in the Rust language to utilize effectively.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.