Libghostty 1.0 (mitchellh.com)

866 pointsby mfiguiere17 hours ago142 comments

jdorfman 12 hours ago

> “And a whole wave of new terminals and "agentic" coding tools, such as herdr and cmux, have been built on it rather than writing yet another emulator.”

Mitchell could have easily snuck his competing product Rex in there but resisted. Respect.

howunfortunate 12 hours ago

Would be some serious 4d chess if you were his sockpuppet account.

codessta 11 hours ago

After watching "You can see everything" I now have to stop and think rather than just laughing at your commment.

jdorfman 9 hours ago

lol now that I read it back it might seem like that. I’m just a Mitchell Stan.

ksh09 11 hours ago

I'd be happy there even if he did, maybe there's a delayed schedule for Rex to be publicly available.

nsonha 10 hours ago

That's because he doesn't have a product yet

jdorfman 9 hours ago

I’m using the beta. So far so good. I’m swapping between that and Herdr. Anyone who writes macOS apps take notes on Rex’s onboarding. It was so easy to enable/grant permissions.

9dev 8 hours ago

The whole app is so incredibly satisfying and feels polished, down to every last button and animation. Buttery smooth, feels completely native. Better than some first-party macOS apps IMHO.

yurishimo 5 hours ago

Just to reiterate to anyone reading this and being skeptical; it’s 10000000% better than what most apps give you in terms of affordances for allowing permissions in a Mac app.

Does this mean Apple might nuke those capabilities next year? It would not surprise me, but for right now, it’s really freaking good what they managed to put together.

It’s worth downloading the beta just to study their onboarding flow.

aroman 9 hours ago

No, he does, and it's extremely good. It's completely replaced herdr for me and I run it on Linux (server), macOS, and my iPhone. I've yet to run into a bug. Access is being controlled via Discord and TestFlight - you can find the link to apply on their site.

mgrandl 3 hours ago

Can you describe the iOS experience? Is it just a terminal that mirrors your sessions from the server? I have yet to encounter a good terminal experience on iOS that doesn’t make me want to rip my hair out so if they have some secret sauce to make it enjoyable I would be interested…

violinist 3 hours ago

It has its own server-client format that replaces both the ssh / mosh layer and the tmux layer, allowing the iOS app to connect to existing sessions on the computer (also the Mac app can either connect to the local Rex server that is included in the app, or to remote servers over Tailscale).

It doesn’t replicate the “remote authentication” part of ssh, and leaves that to Tailscale instead.

dcre an hour ago

Here’s a demo of it on iOS. It’s on a Duo, but you can get the idea from the single-screen part of the demo.

https://xxcancel.com/almonk/status/2114390982049329442#m

raglof 9 hours ago

I like Rex and have started using it and its replacing Ghostty for me. This has made me a bit confused: is the intent for Rex to replace Ghostty? not sure when I would use one vs the other yet

postepowanieadm 9 hours ago

Ghostty- maybe, but not libghostty.

9dev 8 hours ago

I suspect Ghostty is to Rex what Chromium is to Google Chrome (without all the negative connotations that is, I’m a happy Rex user!): both something of a tech demo for libghostty, and an open source, basic-but-fully-featured terminal emulator. Rex, then, will possibly be a paid product at some point, and adds features like the server, agent integration, and persistent session management on top. If you had asked me two years ago if I was ready to pay for my terminal and quit my jetbrains subscription, I’d have laughed. Now I’m earnestly ready for that if Superlogical were to announce a paid plan.

dash-44 5 hours ago

Incredible that we’re now at the point of needing to say “without all the negative connotations” when comparing against any sort Google product. LOL. I see this often.

jazzypants 2 hours ago

Why on Earth would folks pay for that? I'm not trying to be a jerk, but I genuinely don't understand the value proposition.

r_lee an hour ago

if it provides a nicer DX and offers value for you, why wouldn't people pay for it?

there's a big market for "makes your life easier" tools both in B2C and B2B

maybe not that big of a market but who knows

limagnolia an hour ago

It comes down to the question of if it provides enough value over other competing products (which may be free or lower cost) to justify the price. If you sell 10$ widgets that solve $100 problems, you may wonder why nobody is buying your $10 widget when it "provides so much value" and it is because a $1 widget solves the same problem just as well.

Note, I am deliberately using a generic example, I use Ghostty but I haven't tried Rex yet and I have no idea how much value it provides over competing widgets)

r_lee 43 minutes ago

yeah, that's true. but I would say with dev tools and such, people might easily fork over $10 if they think it's nice

I'd say the whole "lower cost" thing is less of a problem when it comes to ergonomics, we know that many devs buy all kinds of fancy split keyboards and things like that to make their workflow smoother, so I wouldn't be surprised if people easily forked over money to this

question is if it will actually take off or actually provide/slot into workflows that people actually like etc. if it's heavily opinionated or not really innovative, I don't see how people would "move over"

just my take though.

limagnolia 17 minutes ago

Absolutely, ergonomics is a huge part of the value- it solves a real problem.

goosejuice an hour ago

> Rex is and will always be free.

cpuguy83 an hour ago

I'm pretty sure he said Rex will remain free.

norman784 7 hours ago

AFAIK he said that Ghostty was like a technical demo of libghostty

k9294 5 hours ago

How you got your invite? I wanted to test Rex, but on the website there is only an invite only beta.

Graziano_M 3 hours ago

I got an invite after only a few weeks

qaz_plm 3 hours ago

Should be able to add your email to get an invite. My invite arrived after three days.

WD-42 an hour ago

Dang. I was hoping some of this was going to come to ghostty. Especially the ssh session stuff. Wezterm has it. I prefer ghostty but it’s kinda lame if it becomes the lite version of a paid product.

veidr an hour ago

I like Rex, too. Ghostty was never enough to use as any kind of frequent daily-use thing; I tried it, but found it basic. (I use iTerm, mainly, or Konsole on Linux.)

Rex is a more serious challenger to iTerm, for me, but atm has similar flaws (Mac only, for most functionality) without coming close on a feature basis. (Nobody uses all of iTerm's features, but most iTerm fans use a subset of them that still exceeds what less-featureful terminal apps (i.e., all of them) can do).

But libghostty is fuckig amazing. Do you have some internal/personal bespoke app that needs a terminal pane somewhere? Ask your clanker to use libghostty.

Do you have a professional, commercial product that needs a terminal somewhere? Direct your team of highly-paid experienced human software engineers to evaluate libghostty.

It's the fucking business.

mijoharas 5 hours ago

I had a look to see how Rex was coming along the other day and it seems there's still no Linux beta (though MacOs users have one).

I'm still interested to check it out though none of these things have ever interested me too much so far.

dcre an hour ago

There is a beta out for the server on Linux but not yet the frontend. So you can connect to a remote Linux box from macOS (or iOS).

smj-edison 12 hours ago

I'm currently working on my own Zig project (an interpreter) and right now I'm working on designing a C interface for it. Seeing things mentioned like having objects as opaque handles, or enum-keyed getters and setters, made me think about how clunky my current API is, since I leak too many details to callers.

What really caught my attention was this: "So from the start, I took inspiration from C libraries I enjoyed working with and designed the API to have a strong, stable ABI that allows for future additions." What are good examples of this? I feel like I just don't have enough experience with well-designed C libraries to know what to look for.

spacechild1 8 hours ago

One example that comes to my mind is libopus: https://github.com/xiph/opus

If you have structs that might need to be extended, you can use "versioned structs". One popular technique is to include the struct size as the first field. The struct size is set to `offsetof(mystruct, lastmember) + sizeof(lastmember)` and the receiver of the struct can use this to check if a member exists. The ARA API is a good example: https://github.com/Celemony/ARA_API/blob/65ec5c43b943a48cb54...

zem 6 hours ago

take a look at hpy, which is explicitly designing a better API for python C extensions. https://hpyproject.org/

JuniperMesos 15 hours ago

Libghostty is a very cool project, this is an exciting release, kudos to mitchellh for spearheading this as well as all the people who have made contributions to the project. I use ghostty as my primary terminal emulator today and a few months ago I was experimenting with using libghostty in an android project that I plan to jump back to someday when I have the time, so I personally benefit from this work.

shoobiedoo 15 hours ago

Indeed it is. It feels like libghostty was only announced yesterday and already there are things like ghostel for emacs that are imo far above and beyond the other emacs terminal options.

chuckadams 15 hours ago

As of recently, the embedded terminal in Jetbrains IDEs is also based on libghostty.

AnggaSP 14 hours ago

And it has been such an upgrade.

There was so many little things that bugs me with JediTerm, unsupported escape sequences, bugged visualization, truncated output, you name it.

Now it just work, like it supposed to.

iLemming 14 hours ago

Yesss! Finally I can run nvim +term inside the Emacs frame and then call emacs -nw in there. Matryoshkamacs is the dream. We all live in a simulation.

9dev 8 hours ago

You emacs people are so weird.

iLemming 8 hours ago

I'm a vimmer. I use Emacs only because it vims better.

ephaeton 6 hours ago

wow. Even today, all the modal interface options for emacs feel too slow for my fingers. Maybe a different terminal root will fix that? I should reinvestigate.

tasuki an hour ago

In what way does it vim better?

biorach 6 hours ago

Oh yeah, like you've never succumbed to temptation of nested editor sessions. Freak.

asa123 12 hours ago

ghostel makes vterm feel so sad!

Conscat 11 hours ago

Ghostel is the first Emacs terminal emulator I've used that really just worked. Vterm and EAT were nice at for time but it's like night and day to Ghostel.

nigehban 8 hours ago

I was using ghostty since its beginning, then Mitchell has shown the capability of rendering for kitty and I installed the kitty, dropped everything else. maybe statistically is not correct but I feel the transitions, animations, rendering of the kitty terminal is superior than ghostty. I only miss some fancy window/pane layout settings (not sure kitty does have a window at all) and naming. Other than that kitty is my daily driver for any Agentic env.

PS: FMPOV Mitchell is a relentless performance addict. I have been seeing this since the vagrant days (this also makes me sad because it reminds me I am getting old)

spudlyo 13 hours ago

One area where Ghostty really shines is with fancy TUI programs like the pi agent. Pi has a relatively recent tuiMode "fullscreen" feature, and it's been exceptional. Showing inline images with the Kitty graphics protocol has been a huge improvement too -- I love it when a model calls `read` on an image file and I get to see the results in my terminal. The OSC-8 hyperlink support very handy too. Viewport scrolling is super fast, and pi can hide/show the scrollbar as you need it.

larodi 9 hours ago

Though zooming images is not there yet, is very need feature indeed.

ximm 13 hours ago

> Every bug any libghostty-vt embedder reports makes everyone else in the ecosystem better. Every feature we ship in libghostty-vt becomes available to everyone quickly and safely. Terminals can move faster with less fragmentation.

Can anyone give a comparison to libvte? There are many terminals that are just thin wrapper around that (gnome-terminal, xfce4-terminal, mate-terminal, lxterminal, sakura, …). It is tied to GTK, so it has a much narrower scope. But still it feels related in spirit.

pekim 5 hours ago

libghostty provides terminal emulation, without any UI. An application embedding it will need to provide the UI.

libvte provides terminal emulation complete with a gtk UI.

In terms of terminal emulation, libghostty implements several protocols that libvte does not. For example kitty keyboard, kitty graphics, and desktop notification.

amterp 15 hours ago

Libghostty is such an awesome project, I didn't myself understand the vision a year ago but I've since then been working on my own terminal project using Libghostty and it really does just work and save me such a tremendous amount of work. Kudos to all the contributors!

swyx 7 hours ago

> You can now create a terminal in ~1,500 lines of C that has more features and better performance than just about any terminal that existed in 2025, and most today in 2026.5 And thanks to the rich ecosystem of language bindings, you can do this in every major programming language. You get this for free. For almost no effort. You can just do it.

can i just get you people to slow down a bit and explain: why are you guys building your own terminal? whats the deep pain here?

(i'm not at all being skeptical, i respect you guys enough to understand that there's something here I don't get and it's my skill issue, so I am trying to learn)

azertify 7 hours ago

I think the point isn't that everyone should create their own standalone terminal, but apps that embed terminals (like IDEs, cloud portals etc) can make much better integrated terminals with less code.

It's like a better alternative to xterm.js, and better than existing terminal emulator libraries.

zem 5 hours ago

think of it as the split between a browser engine (renders and handles interactions with webpages) and a browser (provides the user interface and everything other than rendering the webpage, e.g. bookmarks, tabs, clipboard interaction, etc.)

similarly, a terminal conceptually consists of a terminal engine, which handles text rendering and interaction, and then a terminal which handles tabs, splits, sessions, etc.

now one key point is that you can get a terminal engine right according to a bunch of reasonably objective criteria, so it's a problem well worth solving once and for all. the terminal itself is a lot more subjective and idiosyncratic; different people want different things out of their terminals and the reason is very often that it fits the way they work, or they enjoy some particular features, and even the absence of other features. it is wonderful that libghostty can solve the part that everyone agrees needs to be objectively correct, and lets people concentrate on building the subjective part in the way they like best.

vladde an hour ago

> I had to use dash because bash used far more RAM than libghostty-vt and wouldn't fit into the 8 GB budget.

not only hilarious, but also very impressive!

paradox460 13 hours ago

I'm still on iTerm2, simply because it just seems to work and has all the features I want

Occasionally I'll check out other terms people rave about. Tried kitty, wezterm, and a few others a while back, but wound up coming back to iterm.

Still, really happy to see things like this gaining traction. An easy way to implement high performance terminals in any application is a boon

ashton314 12 hours ago

Search and tmux integration are where iTerm2 really shines imo. I use Ghostty 99% of the time now though. (Search did get a lot better with the latest release.) What features specifically keep you on iTerm2?

rkoten 12 hours ago

In what way did search get better for you with 1.4? The hotkeys to navigate search results (Cmd+G / Cmd+Shift+G) don't work for me even with custom keybindings as documented and the search box doesn't get prefilled with current selection - the _only_ two features that I'd ask for besides the actual search working. Were you able to solve these in your setup?

No shade to ghostty btw, it's an amazing product that I use every day. I just have to accept the lack of some of this usability polish.

isomorphic 11 hours ago

Aside from the outstanding tmux integration (and search):

  - Font rendering (and cell size control) is still better on iTerm2, although Ghostty has been rapidly gaining
  - Compact theme with thin titlebar tabs
  - Profiles
  - Window arrangements
  - In-terminal API (which Mitchell has acknowledged as a useful feature)
The iTerm2 settings/preferences are a mixed bag. On the one hand, discoverability and settings search. On the other hand the panel is insane. Also iTerm2 doesn't have Ghostty's straightforward prefs file. I guess I want the best of both worlds: A well-organized settings UI, with search; and a file I can easily neovim.

wafngar 8 hours ago

Image support is much better in iterm2, you can open them, save them - then you can easily download any file. And fonts also look much nicer.

sdevonoes 5 hours ago

Vertical tabs is why i keep using iterm

tdgunes 4 hours ago

I was on iTerm2 for a long time, but nowadays I find myself using: https://bateri.dev

williamdclt 3 hours ago

I'm also still on iterm2. I don't quite get what people want from a terminal emulator, for me it's mostly window management: being able to open iterm2 fullscreen with a hotkey, having panes and tabs, that's it.

I wouldn't even need panes and tabs if I used tmux, but I can't be arsed: I used to but now much prefer using a GUI and not have to do tabs/scroll/selection differently than every other application.

rafram 2 hours ago

I switched from iTerm to Ghostty because:

- iTerm started pushing a ton of updates to add features that absolutely no one wanted. AI chat in the terminal emulator (not within the terminal), integrated web browser, etc.

- Some of those features turned out to introduce major vulnerabilities, so they had to push even more frequent updates to patch them. It’s extremely annoying to have your work interrupted by multiple update prompts in a day from your terminal.

- iTerm has visual glitches (line artifacts appearing when windows are opened/closed) on non-Retina monitors.

That said, I miss the GUI for changing settings. Ghostty’s settings file format requires looking up keys every time you want to change something, and it isn’t nearly as powerful as iTerm profiles.

alexpadula 20 minutes ago

What is Ghosty? Why should I use it?

IlikeMadison 14 hours ago

Libghostty made the best terminal for Emacs possible (Ghostel). Thank you Mitchell.

lioeters 13 hours ago

The documentation for libghostty is great, I'm reading through the guides and examples. It feel like a fun way to build your own terminal emulator GUI in C, Zig, or other languages with C bindings.

https://lib.ghostty.org/vt/example-programs.html

It also looks useful for testing and developing text interfaces (TUI), like file navigator, editor, dashboard, etc.

veqq 11 hours ago

Recent interview with Hashimoto: https://alexalejandre.com/interviews/interview-with-mitchell...

kyrofa 13 hours ago

Wow. This is how you write a library.

sho_hn 11 hours ago

Great stuff, congrats to mitchellh and the other Ghostty devs!

Kwi's (a KDE embedder) CI/CD and its Flatpak builds/repo have moved to the new version.

jwr 5 hours ago

Thanks to libghostty and the efforts of many wonderful people, I can use ghostel in Emacs to have fast and reliable terminal emulation. I use that mostly to run multiple Claude Code and Codex sessions and it works great!

Thank you, Mitchell!

CrimsonCape 14 hours ago

does anyone have a terminal setup with gorgeous colors/background/etc over ssh without a display manager? Looking for a lightweight server side environment. I keep searching for headless / framebuffer / DRM setups and there seems to be a few out there, wondering if these exist in a practical workflow.

JdeBP 13 hours ago

This is a confusing question. If the terminal emulator is using the server's frame buffer, then it is running on the server end. If the terminal emulator is 'over SSH', then the actual terminal emulator runs on the client end.

They are two very different setups, the former being covered by the likes of zhcon, jfbterm, fbpad, and my virtual terminal system; and the latter being a wide range of things depending from what one's desires are on the client.

nektro 15 hours ago

congrats to mitchell and team!

gregjw 14 hours ago

an early christmas present, thanks mitch and team

regexorcist 5 hours ago

Thanks for this, I live in the terminal and ghostty does everything right.

markstos 13 hours ago

I wonder how the author makes the work financially sustainable.

ec109685 13 hours ago

He's a billionaire, has sponsors and has a startup.

rlt 11 hours ago

Huh, I was told billionaires are evil.

lifeisloving 13 hours ago

https://en.wikipedia.org/wiki/HashiCorp

80fj0348i 12 hours ago

"Mitchell Hashimoto is a software developer and entrepreneur best known as the co-founder of HashiCorp, which was acquired by IBM for $6.4 billion in 2025."

rvz 11 hours ago

Many common ways for the financing of an free and open source project to be sustainable (The main keyword) in the mid to long term:

1) A non-profit company that has full-time employees but supported via sponsorships: (gnu project, mastodon, omarchy, zig)

2) Multiple for-profit companies that each have full-time employees contributing to an open source project that they all use: (ocaml, linux, rust)

3) An ultra high net worth individual that has full-time contributors to open source and supported via a non-profit (signal, ghostty)

4) A for-profit company that has dedicated full-time employees that have full support and own the direction of the open source project (go, swift, java)

5) VC funded open source projects (Herdr, Bun, Deno, Burno, Atuin)

All other options such as low donations like "buy me a coffee", ko-fi, are completely unsustainable, now that AI agents exist.

9dev 8 hours ago

It’s really hard to come up with better conditions for an open-source project than what libghostty has. I’m pretty sure it will be the last terminal emulator at this point.

Hendrikto 6 hours ago

> A for-profit company that has dedicated full-time employees that have full support and own the direction of the open source project (go, swift, java)

I think this has not been the case for Java in quite a while. It is a community project now.

zem 5 hours ago

you missed the 99% case, which is some random person who has a reasonably well paying day job and develops the project in their spare time. AI agents make that more sustainable, not less. vim is a good example, as are a lot of popular programming languages.

tmtvl 2 hours ago

That's not sustainable. If $DAYJOB becomes too busy the project will stall because the random person won't have enough time to work on it anymore.

rirze 2 hours ago

He has billionaire investors. Probably the only grey note about his ventures here.

blactuary 2 hours ago

He posted here a while back, paraphrased "My revenue model is my bank account has 10 digits". He's wealthy and likes to code and is giving back to the community

melodyogonna 5 hours ago

This is an LLVM moment for terminals

Sparkle-san 15 hours ago

In the age of perpetual 0.x software, it's nice to see a well-known project get to 1.0

xiaoyu2006 15 hours ago

Agreed. I feel like too much projects are too reluctant to take the responsibility to say "this is production ready".

bombcar 13 hours ago

Software is either 0.0.12 or 20x6.99

matrixhelix 15 hours ago

And we still don't have Ghostty for Windows

fhub 15 hours ago

There are several third-party Windows ports:

- Noctty (~517 stars)

- GhosttyWin3

- ghostty-windows (~79 stars)

rmunn 14 hours ago

There's also https://wintty.io/ which I just learned about. MIT licensed, binary downloads restricted to project sponsors, but buildable from source, allegedly easily (I haven't tried it). Currently 120 stars on GitHub.

bpbp-mango 10 hours ago

charging for binaries is bold. wonder how he generated enough hype for that to work?

rmunn 8 hours ago

He's just starting the project, if you check his page he doesn't even have any binaries yet. So currently it's more like "Hey, subscribe to my Patreon if you want to support my work, and in the future I'll make some bonus content for subscribers when it's ready". Which... well, some people actually do follow through on commitments like that, so really it depends on how well you know and trust the person involved whether you'd want to subscribe to a Patreon like that. Similar principle here, it looks like.

(I have formed no opinion, positive or negative, on WinTTY yet, BTW, so don't take this as either an endorsement or a... whatever the right word for anti-endorsement would be).

gregjw 14 hours ago

I use it on Windows all the time, just use a community solution or roll your own

linhns 13 hours ago

Use Windows Terminal. Nearly a match for Ghostty on Windows. Well, it's Windows

rirze 2 hours ago

Soon rex will release for Windows

pmarreck 13 hours ago

The only thing I miss from WezTerm is the super configurable cursor (because of course I need a pulsating one)