libghostty icon
libghostty icon

libghostty

 Like

libghostty-vt is a portable, high-performance C library for terminal emulation. It is open source and MIT licensed.

libghostty screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

Updated

  • Updated Nov 2026

Platforms

  • Windows
  • Mac
  • Linux
  • BSD
  • FreeBSD
  • Android
  • iPhone
  • iPad
  • Android Tablet
  • WebAssembly
  • C (programming language)
Alternatives
0likes
0alternatives
Save

Features

Features

Highlights All activities

libghostty News & Activities

Recent News

Recent activities

libghostty information

AlternativeTo Category

OS & Utilities

GitHub repository

  •  63,917 Stars
  •  3,876 Forks
  •  266 Open Issues
  •   Updated  
View on GitHub
libghostty was added to AlternativeTo by Paul on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

What is libghostty?

libghostty-vt is a portable, high-performance C library for terminal emulation. It is open source and MIT licensed.

  • It is highly generic: you give it the bytes a program writes, and it processes and exposes the state of the terminal such as the screen, the cursor, the scrollback, etc.
  • It is highly portable: we build and test libghostty-vt for Linux, macOS, iOS, Android, FreeBSD, Windows, WebAssembly, and bare-metal RISC-V and ARM. It works on 32-bit and 64-bit systems.
  • It is high-performance: the IO throughput is best-in-class and faster than any other known terminal emulator. Memory usage is highly optimized, one libghostty-vt consumer was able to run 10,000 active (input/output) terminals with a running shell on a 4 core 8 GB Linux machine.
  • It has no dependencies: For the highest performance, the library only needs libc, but you can optionally build it without that requirement and it can be fully freestanding on its own and run directly on hardware.

You can use libghostty-vt to build:

  • Terminal emulators and multiplexers
  • Web terminals and remote sessions
  • Session recording and playback
  • Test harnesses for TUI apps
  • Agents and automation that read what a TUI is showing
  • Etc.

libghostty-vt was originally extracted from Ghostty, but since then is in use by hundreds of projects both free and commercial. We don't have any tracking of course but by our best estimates libghostty-vt is used by tens of millions of people daily across every major desktop and mobile platform.

The C ABI is stable from 1.0. See Stability for exactly what each release can change.