zmx

Terminal session persistence tool for detaching and reattaching processes, built on libghostty.

HN commenters like zmx for detaching from and reattaching to terminal processes,123 with libghostty restoring scrollback history and terminal state.45 The one reported complaint is that it is still a bit buggy,6 specifically with screen repainting.7
The HN verdict, written from 7 cited comments
5recommend
0warn against
Apr 13, 2026first mention
Oct 14, 2026latest mention
Nov 25 – Oct 26
Used forfor Ghostty userstmux alternativefor coding agent workflowssession persistenceterminal multiplexer

Why people recommend it

Attach and detach · 3

Lets users wrap a process so they can reattach to it later.

“Whenever I need a process I can reattach to I wrap it in zmx.”

“did you consider building on top of https://github.com/neurosnap/zmx which also does attach/detach and uses libghostty?”

Show 1 more

“libghostty-based zmx being a modern implementation”

Restores terminal state · 3

Uses libghostty to restore scrollback history and terminal state.

“It uses libghostty to restore scrollback history and terminal state.”

“Been using zmx for a few months and love it”

Show 1 more

“libghostty-based zmx being a modern implementation”

Works with Ghostty · 2

Described as pleasant to use alongside the Ghostty terminal.

“It's still a bit buggy (screen repainting) but quite pleasant to use with ghostty.”

“Been using zmx for a few months and love it”

Focused design · 1

Cited as a modern tool that handles session persistence separately from window management.

“libghostty-based zmx being a modern implementation”

Caveats and dissent

Repainting bugs · 1

One user found it still a bit buggy with screen repainting.

“It's still a bit buggy (screen repainting) but quite pleasant to use with ghostty.”

Often compared with

All comments 9

“There's a variety of others like this, zmx, zmosh”

“terminal multiplexer (https://zmx.sh/ or tmux)”

“did you consider building on top of https://github.com/neurosnap/zmx which also does attach/detach and uses libghostty?”

“Whenever I need a process I can reattach to I wrap it in zmx.”

“Make sure you check out the thriving ecosystem of tools around it as well.”

“Been using zmx for a few months and love it”

“libghostty-based zmx being a modern implementation”

“It uses libghostty to restore scrollback history and terminal state.”

“It's still a bit buggy (screen repainting) but quite pleasant to use with ghostty.”

Threads where it came up

Data: zmx.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.

Keyboard shortcuts
j / kNext / previous item
o or EnterOpen selected item
/Search
g hHome
g tTop
g rRising
g cCategories
tToggle dark mode
?This help