The System One EventUtahGo To Event Page →

Docs

Set up Midium, use every part of it, run it for your team, and build on it.

Install & set up

Put Midium on an Apple Silicon Mac, either as the desktop app or as a headless engine with the midium command, then choose Free, Hub or Join.

For everyone

What you need#

  • A Mac with Apple Silicon (M-series). Intel Macs aren't supported.
  • macOS 26.2 or later. The installer stops on older versions. Update in System Settings → General → Software Update, then run it again.
  • Enough memory for the models you want. Memory decides which models you can run. The Models page marks each model Fits this Mac, Tight fit or Too big for this Mac.

You don't need an account or a license to use Midium Free.

Install the desktop app#

  1. Download Midium.dmg.
  2. Open it and drag Midium to Applications.
  3. Open Midium. The first screen, Welcome to Midium, asks how you'll use this Mac:
    • Use Midium Free (Just me): local models, Chat, Code, Studio, scheduled tasks and one vault. No account needed.
    • Join your team's Hub (I have an invite link): paste the link your Hub admin sent you and press Join Hub. See Join a Hub.
    • Set up a Midium Hub (This Mac serves my team): sign in, then buy Midium Commercial or use a license you already have. See Run a Hub.
  4. Follow the Get started checklist. It walks you through what's left for your mode, such as picking a chat model and making your first vault. You can reopen it from Settings → General.

The app also installs the midium command the first time it opens. It links ~/Midium/bin/midium to the app and adds ~/Midium/bin to your shell's PATH. Open a new terminal window and run midium --help. If the command goes missing, for example after you move the app, choose Midium → Install Command Line Tool… in the menu bar.

Install without the app (headless)#

Use this on a Mac you reach over SSH, or one that runs Midium with nobody at the screen. It installs the engine and the midium command, but not the desktop app.

Shell
curl -fsSL https://raw.githubusercontent.com/rosstoss/midium-dist/refs/heads/main/install.sh | bash

The installer:

  1. Checks your macOS version.
  2. Downloads the latest engine into ~/Midium/app and links ~/Midium/bin/midium.
  3. Adds ~/Midium/bin to your PATH in ~/.zshenv, or in ~/.bash_profile and ~/.bashrc if you use bash.

Then set the Mac up:

Shell
midium setup

midium setup asks the same question as the app's first screen. To skip the questions, for example in a script, pass the answers as flags:

Shell
midium setup --mode free --brave-key <key> --yes
midium setup --mode hub --license-token <token> --yes
midium setup --mode join --invite <invite-link> --yes
FlagWhat it does
--mode free|hub|joinThe mode to set up.
--license-tokenA Hub license token, for --mode hub. You can leave it out if you signed in first with midium login, or if a Courier license carried over: the license then comes from your account.
--inviteThe invite link, for --mode join.
--brave-keyA Brave Search API key, which turns on web search.
--yesNever prompt.

Start the engine and check on it:

Shell
midium start --detach   # run in the background, keeps running after you log out
midium status           # running? version, mode, loaded models

midium start without --detach runs in the foreground until you press Ctrl-C or close the terminal. Every command is listed on Command line.

Where Midium keeps things#

Everything lives in ~/Midium: models, vaults, chats, logs and settings. The settings file is ~/Midium/.env. You can edit it in Settings → Advanced → Midium .env, or with midium config get, midium config set and midium config list.

Settings use the MIDIUM_ prefix. Older COURIER_ names still work.

Coming from Courier or Enclave#

Midium used to be called Courier. When you install Midium over an older install:

  • Your models, chats and settings move from ~/.courier to ~/Midium. The old folder becomes a link to the new one, so older scripts keep working.
  • The headless installer moves the old Courier, Courier OS or Enclave apps to the Trash, and keeps courier working as another name for midium.
  • If the old install had a Courier license, the headless installer asks Set this Mac up as your Midium Hub now? Pick Yes to turn the license into your Midium Hub license, which makes this Mac your team's Hub. Pick No to do it later with midium hub activate.

Starting, stopping and the app#

When the app is open, it runs the engine. The CLI works with it:

CommandWhen the app runs the engineWhen the engine was started with midium start, or there's no app
midium stopQuits the app (like ⌘Q), which stops its engineStops the engine
midium restartRestarts the engine through the app, which stays openStops the engine and starts it again in the background
midium startSays Midium is already runningStarts the engine
midium openBrings the app to the frontOpens the app, which uses the running engine

Only one engine runs at a time. If you started one with midium start before opening the app, the app uses it and leaves it running when you quit.

Updating#

  • App: choose Midium → Check for Updates…. Updates download only what changed when they can.
  • CLI: midium update installs the latest release if it's newer. midium update --check only reports whether an update exists. On a Mac with the app, it asks whether to update from the app or from the CLI.

Next steps#

Something here wrong or out of date? Tell us.