Your Mac’s windows, in your terminal, over SSH. Side by side.
SSH into your Mac, pick an app window, and it appears live in your terminal. Type and click into it. Press a key combo and a second window opens beside the first.
Today Casement shows one window at a time, and you can type and click into it. Splits come later. There’s no public download yet.
How it works
-
SSH into your Mac
Use the SSH you already have. Casement adds no server and no open port.
Works now
ssh my-mac -
Pick a window
Run
casementfor a list of the Mac’s windows, type to filter it, and press Enter. Or show one by name. Launch… at the end of the list starts an app that isn’t running.Works now
casement casement show Safari -
Watch it, live
The window streams into your terminal through the Kitty graphics protocol, on your own network or across the internet.
Works now
-
Type and click into it
Keys, clicks, drags and scrolls go to that window on the Mac, and nowhere else. When your terminal keeps a Cmd shortcut for itself, press the prefix and then the key.
Works now
Ctrl-] then c sends Cmd-C
-
Put another window beside it
Press the prefix, then | for a pane on the right or - for one below. Each new pane opens with the window picker.
Later
Ctrl-] then | or -
Why it’s different
Where you sit
Your terminal
Ghostty, iTerm2 3.7.9+, Kitty, WezTerm or Konsole
The Mac
casement
Runs in your SSH session. Draws the panes and reads your keys. Holds no permissions.
Casement.app
Menu bar app. Captures windows and sends input.
- Screen Recording
- Accessibility
No VNC or Screen Sharing
Casement works with single app windows, not the whole desktop, and draws them in the terminal you already use.
No extra port
It opens no network listener. SSH is the only way in.
Nothing to install where you sit
An SSH client and a terminal that speaks the Kitty graphics protocol are all you need.
Permissions in one place
Screen Recording and Accessibility go to Casement.app, never to SSH. Granting them to SSH would let every SSH session record your screen. Casement’s menu shows what is shared and to which SSH session, can stop all sharing at once, and has a switch to turn remote viewing off.
Why not VNC or X11?
Both have their place, and each does some things better than Casement. Here’s how the three compare.
| Casement | VNC or Screen Sharing | X11 forwarding ssh -X |
|
|---|---|---|---|
| What you see | One Mac window, cropped to it. | The whole desktop, mirrored from the real screen. | Each app’s own windows, drawn by your machine. |
| Native Mac apps | Yes Safari, Notes, Xcode: whatever macOS draws. | Yes Everything on the screen. | No X11 apps only. AppKit and SwiftUI apps can’t be forwarded. |
| Typing and clicking | Yes Keys, clicks, drags and scrolls, sent only to the window you’re viewing. | Yes | Yes |
| No extra port or service | Yes Rides the SSH session and keys you already use. | No Screen Sharing turned on, and port 5900 exposed or tunneled. | Yes Rides your SSH session. |
| Nothing extra on your side | Partly A terminal with Kitty graphics, such as Ghostty. | No A separate client app. | No An X server, such as XQuartz or VcXsrv. |
| In your terminal, beside your shell | Yes Splits for several windows side by side are coming. | No Its own window, away from your shell. | No Separate windows on your desktop. |
| Sharp text at any size | Partly A picture of the window, so sharpness follows the link. | Partly A picture of the screen, so sharpness follows the link. | Yes Apps draw as native windows on your machine. |
| Long, slow links | Partly Frame rate follows the link. Only the window you’re viewing is captured. | Partly Frame rate follows the link, with frames of the whole screen to send. | No Chatty and sensitive to latency. |
| Keeps access contained | Yes Permissions live in one signed menu bar app, never in every SSH session. | Partly In a network service you have to keep locked down. | No Trusted forwarding (ssh -Y) lets remote clients see your local X session. |
Where Casement falls short
- It sends pictures of the window, so sharpness and frame rate depend on the link.
- The Mac must be logged in, awake and unlocked.
- It raises windows on the Mac as you work, so it suits a Mac nobody is using.
- It shows one window at a time. Splits come later.
- Today the machine you connect to must be a Mac with macOS 15 or later.
What you need
The Mac
- macOS 15 or later, Apple Silicon or Intel.
- Logged in, awake and unlocked, with a display. Casement never unlocks your Mac.
- Remote Login turned on, in System Settings > General > Sharing.
- Nobody using it at the same time. Casement raises, moves and resizes the windows you share.
Where you sit
- An SSH client.
- A terminal with the Kitty graphics protocol, such as Ghostty, Kitty, WezTerm or Konsole.
- iTerm2 3.7.9 or later works through its own Kitty graphics support. Earlier versions leak memory when a live picture is redrawn, so they aren’t supported. Ghostty is what Casement is tested on today.
- Not supported: running inside tmux or screen, iTerm2 before 3.7.9, or terminals that only speak Sixel or iTerm2’s older inline-image protocol.
Setting up your Mac
There’s no public download yet. This is how setup works in the current build.
-
Check your Mac
- macOS 15 or later.
- Logged in to your account, awake and unlocked, with a display on: built-in with the lid open, or external.
- Best left unattended, because Casement raises windows as you work.
-
Install Casement.app
Put Casement.app in the Applications folder inside your home folder,
~/Applications. A public download and a Homebrew cask come later. -
Open Casement
A setup window walks you through each step and ticks it off as it’s done. Casement shows no windows until Screen Recording and Accessibility are both on.
- Screen Recordingto show your windows
- Accessibilityto type and click
- Remote Login
- Ready
Turn on Casement in the list. Not there? Drag this icon in.
Illustration: Casement’s setup window. -
Screen & System Audio Recording
Casement
+ −
Illustration: Privacy & Security > Screen & System Audio Recording. Screen Recording, so Casement can show windows. Then choose Reopen Casement so it takes effect.
-
Accessibility
Casement
+ −
Illustration: Privacy & Security > Accessibility. Accessibility, so it can type and click. It’s required: without it, Casement shows no windows.
-
Sharing
File Sharing
Screen Sharing
Remote Login
Illustration: General > Sharing. Remote Login, in System Settings > General > Sharing.
If Casement isn’t in a list in System Settings, drag its icon from the floating helper into the list.
Then choose Install Command-Line Tool… from Casement’s menu. After one password prompt,
casementis on your PATH.The setup window works now
-
Keep the Mac awake
While a window is shown, Casement keeps the display awake. Between sessions, keep the Mac from sleeping: run this in Terminal on the Mac, or use an app such as Amphetamine. If the screen locks, windows can’t be shown.
On the Mac
caffeinate -d -
Set up the machine you sit at
You need an SSH client and a terminal with Kitty graphics: Ghostty (the reference), iTerm2 3.7.9 or later, Kitty, WezTerm or Konsole.
Using Ghostty? So Backspace and the arrow keys behave over SSH, add this line to Ghostty’s config:
Ghostty config
shell-integration-features = ssh-terminfoOr run this once:
Where you sit
infocmp -x xterm-ghostty | ssh you@your-mac -- tic -x - -
Connect and show a window
Replace
you@your-macwith your user name and your Mac’s address.Where you sit
ssh you@your-macThen, on the Mac
casement listcasement show Safariyou@your-mac ~ % casement list
SafariCasement
NotesGroceries
Terminal~
you@your-mac ~ %
Safari — Casement
Illustration: Ghostty split in two, with a shell on the Mac in one split and Casement showing Safari in the other. Keys go to the window, q and Ctrl-C too. To stop viewing, press Ctrl-] then q. Ctrl-] then ? shows the other keys. To run it in one go, as in
ssh you@your-mac casement, add the~/.zshenvline that Install Command-Line Tool… offers.
If something goes wrong
- “must run inside an SSH session”
- Run
casementover SSH, and not inside tmux or screen. - “doesn’t support the Kitty graphics protocol”
- Use Ghostty, iTerm2 3.7.9 or later, Kitty, WezTerm or Konsole. In iTerm2, check iTerm2 › About iTerm2 for the version.
- Every command says to finish setup
- At the Mac, choose Set Up Casement… from Casement’s menu, and turn on Screen Recording and Accessibility.
- Backspace or arrow keys act oddly over SSH
- Use the Ghostty tip in step 5.
Where it stands
-
Works now
Updated 4 December 2026
Viewing. From Ghostty over SSH,
casement listlists the windows andcasement show Safaristreams one live into the terminal, from the next room or from a second Mac across the internet.A window picker. Run
casementon its own, type to filter, and press Enter to view a window. Ctrl-] w goes back to the list and Esc returns to the window. Launch… starts an installed app and shows its first window, andcasement launch Notesdoes the same from a script. Ctrl-] ? shows the keys, and the title row notes when the app you’re viewing opens another window.Typing and clicking. Casement reads keys, clicks, drags and scrolls from Ghostty and posts them only to the window you’re viewing, after confirming it’s in front. It finds that window by its number, so windows with a subtitle in the title, such as Activity Monitor’s, work too. It never posts the shortcuts that lock or log out the Mac, and releases anything held the moment sharing stops. Ctrl-] then a key sends that key with ⌘, and Ctrl-] q stops viewing.
Following an app to its next window. When the window you’re viewing closes and the app opens a new one within about two seconds, as TextEdit does when its Open panel gives way to a document, Casement shows the new window, and the title row says what happened.
A setup window on the Mac walks you through Screen Recording, Accessibility and Remote Login. It opens the right page of System Settings, sets a drag helper with Casement’s icon beside it, and tells you when each permission has taken effect. Casement shows nothing until Screen Recording and Accessibility are both on. Until then, every
casementcommand says to finish setup at the Mac.A menu in the menu bar that lists each window being shared and the SSH session it goes to, with Stop all sharing, an Allow remote viewing switch that Casement remembers, and Open at Login, on after the first launch. Install Command-Line Tool… links
/usr/local/bin/casementafter one password prompt, and offers a~/.zshenvline sossh my-mac casementworks in one go. While a window is shown, Casement keeps the display awake.Updates. Casement checks this site for a new version every 5 minutes, and installs one only when nobody is connected over SSH, so a session is never cut off. Releases are signed and notarized.
-
In progress
- Releases cut automatically when a version is tagged.
- Installing the command-line tool from the setup window.
- An About window with acknowledgements.
-
Later
- Splits: several windows side by side, with the Ctrl-] prefix.
- The app’s menu bar as a text menu.
- Sending only the parts of a window that change, and adapting to slow links.
- A public download and a Homebrew cask.
Beyond the Mac
Casement starts on the Mac. Versions for Linux and Windows are coming.
-
Casement for macOS
In development
Viewing, typing and clicking work now. macOS 15 or later.
-
Casement for Linux
Coming soon
-
Casement for Windows
Coming soon
There’s no public download yet. The source will be public under GPL-3.0.