Skip to content
Vaulthalla LogoVaulthalla

Install On macOS

Install Vaulthalla on an Apple Silicon Mac from the installer package or the Homebrew cask, then upgrade or remove it.

Vaulthalla ships for macOS as one installer package, vaulthalla-<version>-arm64.pkg. It installs the server. Vaulthalla Desktop, the native app (macOS 27 or later), ships on its own and updates itself. The vaulthalla-server cask installs that same package, so every path sets up the service identically and without further steps: the installer creates the service account and its private directories, initializes a private PostgreSQL database, starts the LaunchDaemons, and enrolls you as the CLI administrator.

Choose An Install Path

Either path installs the same server and leaves it running. If the installer reports failure, see The Installation Failed.

For a headless or self-hosted Mac, install the server only:

1brew install --cask valkyrianlabs/tap/vaulthalla-server

For local-first use on this Mac, install the server and Vaulthalla Desktop (macOS 27 or later):

1brew trust valkyrianlabs/tap      # once: the meta cask's dependencies load from the tap2brew install --cask valkyrianlabs/tap/vaulthalla
Homebrew casks
CaskInstallsFor
Server + Desktoplocal-first use on this Mac, the full experience (macOS 27 or later)
Server onlyheadless and self-hosted Macs (macOS 14 or later)
Desktop onlymanaging Vaulthalla nodes on other machines

vaulthalla is a meta cask: it installs nothing itself and depends on the other two, so each installs and upgrades to its own latest release. Homebrew loads dependency casks only from a trusted tap, which is why the meta cask needs brew trust once.

The install ends by opening Vaulthalla Desktop once, already set up with the server on this Mac: there is no pairing code to compare, because your macOS account is the proof. Desktop pairs through the server's vh as you, so it acts as the Vaulthalla account you're bound to (admin, for the person who installed the server). See This Mac Pairs On Its Own. Upgrades don't open it again.

vaulthalla-server and vaulthalla-desktop alone need no brew trust: name them in full and Homebrew taps valkyrianlabs/tap and trusts the cask you named. The server asks for your password and installs the package with macOS's installer; Vaulthalla Desktop updates itself.

Open The Package

From 1.18.0 the package is signed with the Developer ID of Valkyrian Labs LLC (team ZG2G6V7GLC) and notarized by Apple, so it opens from Finder like any other installer: double-click it and follow Installer, which asks for an administrator password. To check a download before installing:

1pkgutil --check-signature vaulthalla-<version>-arm64.pkg   # Developer ID Installer: Valkyrian Labs LLC (ZG2G6V7GLC)2spctl --assess --type install -v vaulthalla-<version>-arm64.pkg   # accepted, source=Notarized Developer ID

Packages before 1.18.0 are unsigned. Opened from Finder, macOS blocks them the first time: choose Open Anyway next to the message in System Settings › Privacy & Security, then open the package again.

What The Installer Does

The package's post-install step runs vaulthalla-provision --apply --enroll <you>, which is idempotent: upgrades take the same path and change only what is missing.

Installer steps
StepResult
Creates _vaulthalla, a hidden role account (no shell, no home, no password) with a uid in 450–499, and the alias vaulthalla. An existing _vaulthalla is used only if it matches exactly; otherwise the install stops without changing it.
/Library/Application Support/Vaulthalla with state, run, mount, postgres and, later, caddy. Everything holding data is owned by _vaulthalla and closed to other users.
Initializes the bundled PostgreSQL 16 cluster, creates the vaulthalla role and database with a generated password, and hands that password to the daemon, which seals it.
Writes config.yaml pointed at the bundled database, only if none exists. An edited config is never replaced.
Installs and starts sh.vaulthalla.postgres, sh.vaulthalla.server and sh.vaulthalla.web.
Adds you (the user logged in at the console) to the _vaulthalla group and binds you to the built-in admin account, unless someone is already bound.

When it finishes, the installer log shows:

1Vaulthalla is installed and running.2  Web console: http://127.0.0.1:36968 -- sign in as 'admin'; the first password is in3    "/Library/Application Support/Vaulthalla/state/super_admin_initial_password" (sudo cat it, then change it).4  CLI: vh status (<you> is enrolled)5  Uninstall: sudo "/Library/Application Support/Vaulthalla/uninstall.sh" (keeps vault data; --purge deletes it)

First Sign-In

1sudo cat "/Library/Application Support/Vaulthalla/state/super_admin_initial_password"2open http://127.0.0.1:36968

Sign in as admin with that password, then change it:

1vh setup set-super-admin-password

That removes the plaintext copy. The console only answers on this Mac until you set up HTTPS with vh setup caddy. Continue with First Run.

Verify The Install

1vh status2sudo launchctl print system/sh.vaulthalla.server | grep -E 'state|pid'

vh status reports the daemon, database and storage health. If it can't connect, see vh Says Permission Denied and vh Says The Daemon Is Not Running. On macOS the report includes:

1  mount: disabled -> disabled — the server never mounts on this platform; Finder access is provided by Vaulthalla Desktop2  secrets backend: secure-enclave

The server never mounts vaults on macOS (Finder access belongs to Vaulthalla Desktop); that line is reported as it is rather than hidden. Master keys are sealed with the Mac's Secure Enclave, by the daemon on its first start (see Disk Encryption And Key Protection). Where the Secure Enclave can't be used (some virtual machines) the line reads file (development: no hardware binding).

What Gets Installed Where

Installed paths
PathContents
The CLI (both names) and the daemon.
vaulthalla-provision, vaulthalla-caddy, the lifecycle utility and bundled libraries.
The bundled PostgreSQL, Node runtime and Caddy.
SQL migrations, templates, the web console.
Configuration, state, the database, the CLI socket.
Logs.
The LaunchDaemons.

The full map is in Runtime Paths.

Upgrade

Install the newer package the same way you installed it, with Homebrew or the installer:

1brew upgrade --cask valkyrianlabs/tap/vaulthalla-server                     # Homebrew2sudo installer -pkg vaulthalla-<new-version>-arm64.pkg -target /            # installer package

The installer stops the LaunchDaemons, replaces the files, and provisioning starts them again, including Caddy if you configured it. Vaults, the database, configuration and the CLI binding are kept. Reinstalling the same version is safe and repairs a damaged install.

Uninstall

Uninstall commands
GoalInstaller packageHomebrew
sudo "/Library/Application Support/Vaulthalla/uninstall.sh"brew uninstall --cask valkyrianlabs/tap/vaulthalla-server
sudo "/Library/Application Support/Vaulthalla/uninstall.sh" --purgebrew uninstall --zap --cask valkyrianlabs/tap/vaulthalla-server

Uninstalling the vaulthalla meta cask leaves the server and the app installed.

Purge is permanent

--purge deletes local vault data and the keys that decrypt it. Export vault keys and back up first: see Backup And Recovery. Devices that trusted the Vaulthalla CA keep trusting it until you remove it there, and lines added with vh setup caddy --hosts-entry are removed by vh teardown caddy, not by the uninstaller.