SEC.01
The playbook
The run starts read-only: the recon probes decide what happens next. The steps that follow are adapted to the distribution and state found — a real machine is rarely clean.
- 01reconHomebrew present? absolute path, prefix owner (brew refuses root: go through sudo -u <owner>), architecture
- 02reconconsole user and admin group members (the owner must not be root)
- 03reconCommand Line Tools present? (needed to build, not for bottles)
- 04actSet the owner (only if an account is provided)verify
- 05actDownload the official packageverify
- 06actInstall Homebrewverify
SEC.02
What it verifies
Each step ships its own check. The run only moves on when the check passes, so what the recipe reports as done is what is actually on the server.
- 01verifySet the owner (only if an account is provided)Verified by
stat -f "%Su %Lp" /var/tmp/.homebrew_pkg_user.plist - 02verifyDownload the official packageVerified by
pkgutil --check-signature /var/tmp/Homebrew.pkg | head -3 - 03verifyInstall HomebrewVerified by
b=$(ls /opt/homebrew/bin/brew /usr/local/bin/brew 2>/dev/null | head -1); u=$(stat -L -f %Su "$b"); sudo -u "$u" -H "$b" --version | head -1
SEC.03
Guardrails
Non-negotiable instructions the run must respect, whatever it finds on the server.
Never run brew as root: always sudo -u <owner> -H with the absolute path. The owner cannot be root. Never run install.sh straight from curl: download it first. Do not touch an existing Homebrew.
SEC.04
Variables
What you choose before launching — the recipe fills in the rest.
| Name | Meaning |
|---|---|
| ${user} | Owner account (empty = console user) |
SEC.05
How a recipe runs in Servor
Servor is zero-knowledge: the platform cannot execute anything on its own. When you launch this recipe, a run reads the reconnaissance, plans the steps and asks for your approval. Each approved command is signed by your browser — with a key the server never sees — then relayed verbatim to the agent, which verifies the signature locally before executing.
search by intent — type “firewall”, get ufw
- 01Read-only reconnaissance before any change
- 02Every command signed by your browser, approved by you
- 03Each step verified before the run moves on, every run kept in the history
SEC.06
Deploy on Servor button
Maintain Homebrew or a project that needs it? Put this button in your README or on your site: one click and your users install it on their own server.
SEC.07
More dev tools recipes
- 01Node.jsNode.js (LTS version of your choice) installed system-wide from the NodeSource repo.
- 02GoThe Go language (version of your choice) from go.dev, in /usr/local/go and on the PATH.
- 03BunThe Bun JS runtime, installed system-wide in /usr/local/bin.
- 04PythonPython (version of your choice) via pyenv, for the user, without touching the system Python.
- 05RustThe stable Rust toolchain via rustup, for the user.
Verified recipe
Run this recipe on your server
Connect a server, launch the recipe, and approve each step as Servor executes and verifies it. Free plan, no card required.