Skip to content

Use Cortland on a Mac and a Linux machine

The two builds read the same files and speak the same protocol, so a dotfiles repository can hold your whole Cortland setup.

Keep ~/.config/cortland/config.toml in your dotfiles and symlink it on both machines. A key one platform doesn’t use is ignored there, so a single file can hold both:

[theme]
name = "omarchy" # Linux: follow Omarchy. The Mac falls back to its default.
[window]
ui_scale = 1.1 # Linux only, ignored on the Mac
[sandbox] # Linux only
enabled = true
[arcade] # macOS only
enabled = true
[approval] # both
mode = "auto"
always_ask = [".env"]

cortland-ctl, cortland-mcp, and the cortland-panes skill behave the same on both builds. A script that splits panes, waits on agents, and reads output runs unchanged. The exception is the Linux-only sandbox flags (pane split --sandbox, --no-network, pane sandbox-info), which the Mac’s cortland-ctl doesn’t have.

Mac ⌘ shortcuts are mostly Ctrl+Shift on Linux. A few differ more than that, for example quick open is ⌘P on the Mac and Ctrl+Shift+O on Linux. Keyboard shortcuts lists both.