# Watch lines in Control Room

Control Room is a desktop app for the factory floor, on this computer and on computers you reach over SSH. It shows each factory's lines, stations, bins and workpieces, groups failed workpieces by error, retries them, clears finished work, starts and stops factory sessions, and opens a terminal in a factory or workpiece folder.

It is the desktop window onto what [al-control](/docs/reference/al-control) does in a terminal. Both read the same config, `~/.al/al-control/config.yml`, and read a factory the same way, so they agree on what is in a bin and what is safe to delete. Like al-control, it shows a factory's lines only after its factory session has started once.

## Install

| System | Install |
|---|---|
| macOS (universal) | `curl -fsSL https://raw.githubusercontent.com/assemblyline-sh/control-room/main/install.sh \| bash` |
| Windows | The `.exe` or `.msi` from the [latest release](https://github.com/assemblyline-sh/control-room/releases/latest) |

The macOS script installs the latest release into `/Applications`, or `~/Applications` when `/Applications` isn't writable. Run it again to update.

### macOS: "Control Room" Not Opened

The macOS build isn't notarized. A `.dmg` downloaded in a browser is quarantined, and macOS refuses to open the app. Clear the flag once after installing:

```bash
xattr -dr com.apple.quarantine "/Applications/Control Room.app"
```

Or open System Settings → Privacy & Security and click **Open Anyway**. The install script doesn't hit this: a download with `curl` isn't quarantined.

### Windows: "Windows protected your PC"

The installer isn't signed, so SmartScreen stops it. Click **More info**, then **Run anyway**.

## First run

With no factories in the config, the app asks where they run, one question at a time:

| You choose | It does |
|---|---|
| On this computer | Lists the factories running here, ticked, or lets you pick a folder |
| On another computer | Lets you pick it from your SSH settings or type its name, finds `node` and pm2 there, and lists its running factories, or lets you enter a folder. `ssh <name>` has to work in a terminal without a password. |
| No factory yet | Points you to the [Quickstart](/docs/quickstart) |

Add more later from **+** (a computer) and **+ Add factory** in the sidebar. To remove a factory, right-click it and choose **Remove from Control Room…**. The app writes the config only when you add or remove a computer or factory; you don't need to edit it by hand.

Each window shows one computer. Choosing another computer opens it in its own window.

## On Windows

These work: lines, stations, bins, workpieces, failures, clear and retry, for factories on this computer and on Mac or Linux computers over SSH, and opening a terminal.

These don't:

- **pm2 status, start, stop and logs for a factory on this computer,** and finding its running factories when you add it. They work for factories on Mac or Linux computers.
- **A Windows computer as the remote one.** The remote commands need a Unix shell.
- **Shared SSH connections.** Windows' OpenSSH can't share them, so every remote call signs in again.

## Related

- [al-control](/docs/reference/al-control): the config file both share, and the same views in a terminal
- [Find out why a workpiece failed, and retry it](/docs/guides/handle-failures)
- [Run a factory session](/docs/guides/run-a-factory-session)
