Is there a Rex Linux client? What works today
Rex on Linux ships as a server, not a desktop client. Here is what that means, how to install it, and how to connect from a Mac over SSH.
For IT and Engineering

Is there a Rex client for Linux?
No. Based on Rex's own documentation and a write-up from the exe.dev team, Linux gets the Rex server, not a client app. The server runs on the Linux machine and holds your terminal sessions. The client app, the part with the windows you look at, runs on a Mac (the docs also list iOS actions and settings). You connect the two over SSH. If a Linux desktop client is coming, none of the sources say so, so check the Rex docs for current status before planning around one.
TL;DR
- Rex has no Linux client app today. The documented clients are on Mac and iOS, and Linux is covered under the docs' "Server" section.
- The Linux build is the server. It runs on the remote or Linux machine and manages your sessions there.
- Your sessions live on the server, not your laptop. Close the laptop and the state stays on the Linux machine.
- Connecting happens over SSH. The server's local Unix socket is forwarded over SSH to the client app.
- A Rex terminal can install the server for you. From inside Rex,
rex server install ssh://<host>sets up the server on a remote machine. - Installation steps exist per distribution. The docs cover Debian and Ubuntu, Fedora, Amazon Linux 2, Arch Linux, Alpine, and Nix and NixOS.
What is Rex, and why does the client question come up?
Rex is a terminal app from Superlogical. Instead of the usual single window, it organizes your work into sessions, which contain windows, which contain blocks. A block is a terminal. If you have used tmux or screen to keep work alive on a remote machine, Rex covers similar ground, but it is built into the app instead of being something you layer on top.
The question "is there a Linux client" comes up because Rex looks like a terminal, and people assume a terminal runs everywhere. It is split into two parts. One part lives where your work runs. The other is the app you look at. Linux currently gets the first part.
How does Rex work across a Mac and a Linux machine?
The exe.dev team published a clear description of the design. Four points matter:
- The server runs on the remote machine. It manages the sessions, windows and blocks.
- It listens on a local Unix socket. A Unix socket is a file-like endpoint that programs on the same machine use to talk to each other. The protocol spoken over it is HTTP.
- SSH forwards that socket to your Mac. The client app connects to a local socket on the Mac, and an SSH process carries the traffic to the Linux machine.
- The state stays on the server. The client displays whatever sessions are available. If you create a split from the command line on the Linux machine, it shows up in the client app.
One consequence to know about: if the server process is killed, its sessions go with it. The exe.dev write-up says that is not supposed to happen very often, but it is the tradeoff of keeping state in one process.
Compare that with plain SSH, where closing your laptop drops the session and everything in it. Tools like tmux, mosh and Tailscale each attack that problem in a different way. Rex's answer is that the server holds the state and the client can come and go.
What do you get on Linux today?
You get the server and the command line tools that talk to it. The docs' Server section lists pages for:
- Installing on Linux (plus separate pages for FreeBSD and Windows)
- Server Modes
- Shared Server
- Login Server
- Remote Access
- Upgrading
- Resources and Limits
The Linux server runs as a systemd user service. systemd is the part of most Linux distributions that starts and supervises background programs, and a "user service" means it runs under your own account instead of as a system-wide service. That fits the socket path shown in the exe.dev diagram, which sits under /run/user/1000/rex/, a per-user runtime folder.
The docs also have an "Automate" section covering the CLI, Lua scripts, shell scripting and a Server API. Those are how you drive Rex on Linux without the client app.
How do you install the Rex server on Linux?
The docs have a Linux installation page with a Quickstart, system requirements, an Install section, release Channels, a description of what is in the package, and a section for each distribution:
| Distribution | Docs section |
|---|---|
| Debian and Ubuntu | Debian and Ubuntu |
| Fedora | Fedora |
| Amazon Linux 2 | Amazon Linux 2 |
| Arch Linux | Arch Linux |
| Alpine | Alpine |
| Nix and NixOS | Nix and NixOS |
Start at the Quickstart, check the system requirements, then follow your distribution's section. I am not reproducing install commands here because package names and repository details change between releases, and the docs are the source that stays current. The same goes for upgrading: use the Upgrading page.
How do you connect to Rex on Linux from another machine?
There are two routes, depending on whether you already have a Mac running Rex.
Route 1: install and connect from a Rex terminal on your Mac
- Make sure you can already SSH into the Linux machine with your normal credentials.
- Open a terminal inside the Rex app on your Mac.
- Run the install command with an
ssh://address for the machine:
rex server install ssh://<your-host>
- After that, connect using the
ssh://URL for that host. The server's sessions appear in the client app.
The exe.dev post demonstrates this with their own virtual machines, using an address in the form ssh://<vm-name>.exe.xyz. For your own server, the host part is whatever you normally use to SSH in. If something fails, test plain ssh to the same host first. Most connection problems are ordinary SSH problems (keys, firewalls, wrong hostname).
Route 2: install the server by hand on Linux
Follow the distribution steps in the docs, then connect from the Mac client over SSH as above. Read the Remote Access page for the details of how remote connections are set up and the Server Modes page for the different ways the server can run.
Can you drive Rex from the Linux command line?
Yes. Once the server is running, the Rex CLI on the Linux machine can create splits and other layout changes, and they appear in the client app. That works because the state lives in the server, not in any one window.
The exe.dev post also notes that the server ships an llms.txt file explaining its protocols at length, which is useful if you want to hand a session to an AI agent. You can fetch it from the server's socket with a command like:
curl -s --unix-socket /run/user/$(id -u)/rex/server.sock http://rex/llms.txt
That path matches the layout in the exe.dev write-up. Confirm it against your install if the socket is somewhere else.
Who does this change things for?
If you run Linux as your daily desktop, Rex is not a drop-in terminal for you yet. You can run the server on your Linux machine, but the window you look at is a Mac app. Treat Rex as a tool for people who work from a Mac and keep their real work on Linux machines.
If you manage servers or work on cloud VMs from a Mac, this is the good case. You install the server once per machine, and your sessions survive closed laptops and dropped connections. It is especially relevant if you or your team run AI coding agents on remote VMs, a pattern the exe.dev post describes as a reason people are moving work off laptops.
If you are not technical but your team uses Linux servers, the practical takeaway is smaller. Ask whoever runs the servers whether Rex is in use, and if you are given access, expect to connect over SSH from a Mac.
What you can do right now:
- Check the Rex docs for the current status of clients before you commit to a workflow.
- Test with one non-critical Linux machine and the Quickstart.
- Confirm SSH access works before installing anything.
- Note which distribution you are on and read its section.
Could you build a small tool to track your Rex servers?
If more than a few machines run the Rex server, keeping track of which host runs which version, who owns it, and when it was last upgraded can end up in a spreadsheet that goes stale. With Remy, you can describe that as a small internal app in plain English: a table of hosts, owners and server versions, an upgrade checklist per machine, and a sign-in so only your team sees it. Remy builds and deploys it as a full-stack app with a database and login, so you own a simple inventory instead of paying for another subscription. It will not install or manage Rex itself. It just keeps your records straight.
Frequently Asked Questions
Does Rex have a native Linux desktop app?
Not according to the current docs and the exe.dev write-up. Linux is documented as a server install, while the app references cover Mac and iOS. Check the Rex docs for the latest before relying on that, since it can change.
Can I run the Rex server on distributions other than Debian or Ubuntu?
The Linux installation page has sections for Fedora, Amazon Linux 2, Arch Linux, Alpine, and Nix and NixOS, as well as Debian and Ubuntu. The docs also list separate server install pages for FreeBSD and Windows.
What happens to my sessions if I close my laptop?
They stay on the server. The state lives there, and the client app only displays what is available. The one exception the exe.dev post mentions is that if the server process itself is killed, its sessions go with it.
How does the client reach a server on another machine?
Over SSH. The server listens on a local Unix socket using HTTP, and SSH forwards that socket to the Mac where the client app runs. In practice, if you can SSH to the machine, you can usually connect Rex to it.
Do I need tmux if I use Rex?
The exe.dev post positions Rex as handling the session persistence that people usually use tmux for, without requiring you to learn tmux's key bindings. Whether it fits your workflow is a personal call. Try it on one machine first.
Useful for
How we source, write, and correct our articles. Editorial standards



