Switchboardv0.1.1
GitHub

Installing

Switchboard needs a Mac with Apple silicon (M1 or later) and macOS 15 or later. It has only been tested on macOS 27.

curl -fsSL https://github.com/robert-mcdermott/switchboard/releases/latest/download/install.sh | bash

The installer:

  1. checks this is an Apple silicon Mac on macOS 15 or later;
  2. downloads the release's zip and checks it against the SHA-256 written into the installer, so it installs nothing that differs from what was released;
  3. puts Switchboard.app in /Applications, quitting and replacing a copy already there;
  4. asks whether to install the collector (Full mode), with sudo, which asks for your password; a collector already installed is updated without asking, so it matches the app;
  5. asks whether to download the location databases, unless you have them;
  6. opens Switchboard.

Run it again to update. To read it before running it, download it with curl -fsSL <the address above> -o install.sh, read it, then bash install.sh. Options, after bash -s -- when piping:

OptionDoes
--collector, --no-collectorInstall or update the collector, or leave it alone, without asking
--geoip, --no-geoipDownload the location databases, or not, without asking
--yesAsk nothing: install the app, and update a collector already installed
--dir DIRPut the app in DIR, such as ~/Applications, instead of /Applications
--no-openDo not open the app afterwards
--zip FILEInstall from a zip already downloaded; it is still checked against the release
--uninstallRemove the collector and the app, and ask before removing your log, databases, and settings

The installer downloads with curl, which does not mark files as quarantined, so macOS opens the app without the warning described in From the zip.

From the zip#

Download Switchboard-<version>-arm64.zip from the releases page, open it, and drag Switchboard.app to Applications. Switchboard is signed ad hoc, not with a Developer ID, and is not notarised, so the first time you open it macOS says it cannot check it. Open System Settings ▸ Privacy & Security, scroll to Security, and click Open Anyway; you are asked once. To check the zip first, compare shasum -a 256 Switchboard-<version>-arm64.zip with the release's SHA256SUMS.

Everything else is in the app: the Health tab installs the collector and Settings ▸ Location downloads the location data.

From source#

You need Xcode or its command line tools, with Swift 6.

git clone https://github.com/robert-mcdermott/switchboard.git
cd switchboard && scripts/bundle.sh
open build/Switchboard.app

Nothing is downloaded during the build; Switchboard has no third-party dependencies. scripts/release.sh tests and builds a release in build/release: the zip, install.sh with the zip's checksum filled in, and SHA256SUMS. With --publish it creates the GitHub release from them, from a clean main that has been pushed.

What goes where#

WhatWhere
The app, with the collector, sbctl, and the scripts it runs inside it/Applications/Switchboard.app
The collector, once installed/usr/local/libexec/switchboardd, started by /Library/LaunchDaemons/io.github.robert-mcdermott.switchboard.collector.plist, logging to /var/log/switchboardd.log
The log and the location databases~/Library/Application Support/Switchboard
Settings and workspacesThe app's preferences, io.github.robert-mcdermott.switchboard.app

Builds before 0.1.0 used the identifier local.switchboard. The first launch of 0.1.0 carries their settings over, and installing the collector replaces the old one.

Describes Switchboard 0.1.1. Apache License 2.0. Screenshots show simulated traffic. Location data is IP Geolocation by DB-IP, CC BY 4.0.