Softwr

Web Development · head to head

Ghostty vs Preact

Ghostty logo

Ghostty

Web Development

Fast, native terminal emulator for macOS and Linux with GPU rendering

From
Free
Free plan
Yes
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Ghostty lists native UI; only Preact lists 3kB runtime.
  • Where Ghostty falls short: there is no Windows version, so teams spanning all three operating systems cannot standardise on it.
  • Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.

How do Ghostty and Preact differ?

Ghostty and Preact differ on platforms (macOS, Linux against Web). Only the attributes on which Ghostty and Preact actually diverge.

Attributes where Ghostty and Preact differ
AttributeGhosttyPreact
PlatformsmacOS, LinuxWeb

Identical on both: starting price (Free), pricing model (Open source, no licence fee), free tier (Yes).

Not yet recorded: category for Ghostty.

Which features does each one have?

They share no listed features; 8 appear only for Ghostty and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Ghostty

  • Native UI
  • GPU rendering
  • Tabs and splits
  • Kitty graphics protocol
  • Quick terminal
  • Theme switching
  • libghostty
  • Hyperlinks

Only in Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

What is each one used for?

Ghostty is most often brought in for A fast daily terminal for developers on macOS; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.

Ghostty

  • A fast daily terminal for developers on macOSnot Preact
  • A Linux terminal that respects GTK conventionsnot Preact
  • Viewing images and rich output inline using the Kitty protocolnot Preact
  • Embedding terminal emulation via libghostty in other appsnot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Ghostty
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Ghostty
  • Applications targeting low-bandwidth or low-powered devicesnot Ghostty

Where do Ghostty and Preact fall short?

Ghostty's most cited limit: there is no Windows version, so teams spanning all three operating systems cannot standardise on it. Preact's: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Ghostty

  • There is no Windows version, so teams spanning all three operating systems cannot standardise on it
  • Configuration is by text file with no settings GUI, which puts off users who expect a preferences window
  • The libghostty API is documented as not stable, so building on it risks breaking changes
  • It is maintained as a labour of love rather than a funded product, so support and roadmap depend on volunteers
  • It lacks built-in features such as AI assistance and workflow sync that commercial terminals like Warp offer

Preact

  • Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • Behavioural differences from React exist in edge cases, particularly around event handling
  • A much smaller community, so unusual problems have fewer existing answers than React

How much do Ghostty and Preact cost?

Ghostty is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.

Ghostty

Free
  • GhosttyFree
    • Free and open source
    • No paid tier
    • Community maintained

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • No usage limits

Which should you pick?

Choose Ghostty if

  • You need native ui.
  • You want to start without paying.
  • You work on macOS, Linux.
  • You also want gpu rendering.

Choose Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Questions people ask

Is Ghostty or Preact better?
It depends on the job. Ghostty fits a fast daily terminal for developers on macOS; Preact fits embedded widgets that load inside someone else’s page and must stay small. Ghostty starts at Free and Preact at Free.
Which is cheaper, Ghostty or Preact?
Ghostty starts at Free and Preact at Free.
Does Ghostty or Preact run on more platforms?
Ghostty runs on macOS, Linux. Preact runs on Web.
Can I use Ghostty for free?
Both have a free tier, so you can try either at no cost before committing.
What is Ghostty best used for?
Ghostty is most often used for a fast daily terminal for developers on macos, a linux terminal that respects gtk conventions, viewing images and rich output inline using the kitty protocol, embedding terminal emulation via libghostty in other apps. Of those, a fast daily terminal for developers on macos and a linux terminal that respects gtk conventions are not what Preact is typically brought in for.
What can Ghostty do that Preact cannot?
Ghostty covers Native UI, GPU rendering, Tabs and splits, Kitty graphics protocol. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Ghostty: Is Ghostty free?

Yes, it is free and open source.

Preact: Is Preact free?

Yes, open source under the MIT licence.

Ghostty: Which platforms does it run on?

macOS and Linux.

Preact: Can I use React libraries with Preact?

Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.

Ghostty: Does it support images in the terminal?

Yes, through the Kitty graphics protocol.

Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Ghostty: Can I embed it in my own app?

libghostty is designed for that, but its API is not yet stable.

Share

Related pages

Other head to heads