# macOS

> Add a Mac with one command, plus the Mac app for the menu and remote control.

Underpass runs on Macs with Apple silicon and Intel. A command installs the command-line tool and a background service that keeps the Mac connected; the Mac app adds a window on top.

## Install

Open **Terminal** and run:

```bash
curl -fsSL https://coord.getunderpass.com/download/install.sh | sh
```

It downloads the build for your Mac, checks it, installs `underpass` and its background service, and prints a link. Open the link and sign in to connect the Mac. It asks for your password once, to install the service.

### With an auth key

To join without signing in, for a Mac mini in a closet for example, generate the command in the dashboard under **Machines → Add device → macOS**. It looks like:

```bash
curl -fsSL https://coord.getunderpass.com/download/install.sh | UNDERPASS_AUTH_KEY=tskey-auth-xxxxxxxxxxxx sh
```

## The Mac app

Download **Underpass-macos.zip** from [getunderpass.com/download](https://getunderpass.com/download), unzip it and move **Underpass.app** to Applications. It shows your devices, lets you sign in and out, and controls other computers.

> [!NOTE]
> The Mac app isn't notarized yet. The first time you open it, macOS blocks it: open **System Settings → Privacy & Security** and click **Open Anyway**.

For others to [control this Mac](/features/remote-control), allow **Screen Recording** and **Accessibility** for Underpass when the app asks.

## Check it worked

```bash
underpass status
```

The first line shows this Mac's name, address and `connected`.

## Next

- [Remote control](/features/remote-control)
- [Shared clipboard](/features/shared-clipboard)
- [Uninstall](/getting-started/install#macos)
