Skip to content
Muxin
Docs · Getting started

Start

Getting started

Install Muxin, add your first machine, and start an agent on it.

Install

Download Muxin for your computer from the download links, or the latest release on GitHub. It's free and open source.

  • macOS: a signed app for macOS 12 or later, on Apple silicon and Intel. Drag it to Applications.
  • Windows 11: an installer, for Intel and AMD PCs or Windows on Arm. It installs for you (no administrator needed), and can add muxin to your PATH for terminals and AI agents. It isn't signed yet: if Windows warns you, choose More info, then Run anyway.
  • Linux: the same app, for Intel and AMD or Arm (Ubuntu 22.04, Debian 12, Fedora 36, openSUSE Tumbleweed, RHEL 10 or newer). Pick the package for your system:
    • Debian and Ubuntu: the .deb, then sudo apt install ./Muxin-*.deb.
    • Fedora, openSUSE and RHEL: the .rpm, then sudo dnf install ./Muxin-*.rpm (or sudo zypper install).
    • Arch: yay -S muxin-bin from the AUR, or the .pkg.tar.zst with sudo pacman -U.
    • Any distribution: the AppImage. Make it executable and run it. It needs no FUSE 2.
    • Without root: the .tar.gz. Unpack it and run ./Muxin/install.sh. It installs for you, with Muxin in your app menu.

Or install it with Homebrew, on macOS and Linux:

brew install --cask lumarylabsllc/tap/muxin

The muxin command, for your terminal and your AI agents, comes with Homebrew and the Linux packages. Otherwise, Settings › General › Command line installs it.

Updating from Muxen

Muxin was called Muxen before 0.5.1. Updating keeps your settings, machines and sessions. The muxen command still works too. On a Mac, the old Muxen app goes to the Trash the first time Muxin opens.

Make sure ssh works

Muxin reaches machines the way you would from a terminal: ssh with a key, no password prompt. If ssh my-machine works in your terminal without asking for a password, Muxin can add it.

  • A Mac: turn on Remote Login in System Settings › General › Sharing.
  • Linux: install and start the ssh server (sudo apt install openssh-server on Ubuntu and Debian).
  • Windows: turn on OpenSSH Server in Settings › System › Optional features. See Windows.

Then give it your key once, with your password there:

ssh-copy-id you@my-machine.local

Muxin uses your ~/.ssh/config: aliases, users, ports, keys and jump hosts all work as they do in your terminal.

Add a machine

Click Add machine (⌘N). Give it a name and its ssh destination: you@host, an alias from your ssh config, or local for the computer you're on. Muxin suggests your ssh aliases, the computers on your Tailscale network and the ones it finds on your local network.

The Add a machine dialog: a name, an ssh host, and suggestions from the ssh config, the tailnet and the local network. The Add a machine dialog: a name, an ssh host, and suggestions from the ssh config, the tailnet and the local network.
Suggestions come from your ssh config, your tailnet and your local network.

Muxin checks the machine right away: a read-only look at its CPU, memory, disk, what's running and what needs attention. Nothing is installed by a check. The machine shows up in the sidebar and on the overview.

Once it answers, Muxin connects to it directly, without ssh in between, so terminals and the desktop respond faster. Its agent runs there as a service of yours. To keep it on ssh, uncheck Connect to it directly in the dialog.

A machine's page: its CPU, memory, disk and uptime, its sessions, servers, connection and git. A machine's page: its CPU, memory, disk and uptime, its sessions, servers, connection and git.
A machine's page: how it's doing, what's running, its servers and how Muxin reaches it.

Start an agent

Click New session (⌘T), pick the machine, the agent and the folder, and optionally what it should work on. The agent runs on that machine and keeps going when you close Muxin; come back to it from the sidebar.

The New session dialog: the machines (VMs under the one they're in), the agents installed there, and the folder. The New session dialog: the machines (VMs under the one they're in), the agents installed there, and the folder.
Machines, then the agents installed on the one you pick, then where it works.

Closing the window

Muxin keeps running when you close its window. It goes on checking your machines and holding your connections and port forwards. An icon in the menu bar or tray brings the window back.

A dot on the icon means a session is waiting for you. Its menu has:

  • A line on how things stand, like “3 machines online · 2 working · 1 needs you”.
  • The sessions that need you or are done. Click one to open it.
  • Show Muxin, Settings… and Check for Updates…. When a new version is out, that one says so.
  • Muxin’s version, and the version of Muxin’s agent on this computer. Copy Versions copies them with your system’s version, for a bug report.
  • Quit Muxin. Your agent sessions keep running on their machines. Open Muxin again to get back to them.
  • Mac: the Dock icon brings the window back too. ⌘Q quits.
  • Windows: click the icon for the window, or right-click it for the menu. Point at it to see how things stand. Windows 11 may put a new icon under the ^ arrow by the clock. Drag it out to keep it in view.
  • Linux: the window comes back on the same page, with its terminals reattached. Open dialogs and half-typed text don’t come back. On a desktop with no tray, closing the window quits Muxin. On GNOME, the AppIndicator extension adds a tray.

Opening Muxin again brings the running copy forward. To quit from a terminal, run muxin quit.

Next