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

Cask Installs For
valkyrianlabs/tap/vaulthalla Server + Desktop local-first use on this Mac, the full experience (macOS 27 or later)
valkyrianlabs/tap/vaulthalla-server Server only headless and self-hosted Macs (macOS 14 or later)
valkyrianlabs/tap/vaulthalla-desktop Desktop only managing 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, so trust the tap once:

1brew trust valkyrianlabs/tap2brew install --cask valkyrianlabs/tap/vaulthalla

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.

Step Result
Service account 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.
Private directories /Library/Application Support/Vaulthalla with state, run, mount, postgres and, later, caddy. Everything holding data is owned by _vaulthalla and closed to other users.
Database 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.
Configuration Writes config.yaml pointed at the bundled database, only if none exists. An edited config is never replaced.
LaunchDaemons Installs and starts sh.vaulthalla.postgres, sh.vaulthalla.server and sh.vaulthalla.web.
CLI access 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. On macOS it 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, in development); 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

Path Contents
/usr/local/bin/vh, vaulthalla, vaulthalla-cli, vaulthalla-server The CLI (both names) and the daemon.
/usr/local/lib/vaulthalla vaulthalla-provision, vaulthalla-caddy, the lifecycle utility and bundled libraries.
/usr/local/libexec/vaulthalla The bundled PostgreSQL, Node runtime and Caddy.
/usr/local/share/vaulthalla, /usr/local/share/vaulthalla-web SQL migrations, templates, the web console.
/Library/Application Support/Vaulthalla Configuration, state, the database, the CLI socket.
/Library/Logs/Vaulthalla Logs.
/Library/LaunchDaemons/sh.vaulthalla.*.plist The LaunchDaemons.

The full map is in Runtime Paths.

Upgrade

Install the newer package the same way, or with Homebrew:

1brew upgrade --cask valkyrianlabs/tap/vaulthalla-server2sudo installer -pkg vaulthalla-<new-version>-arm64.pkg -target /

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

Remove the program and keep your data, so a later install picks up where you left off:

1sudo "/Library/Application Support/Vaulthalla/uninstall.sh"

Remove everything, including vault data, the database, logs, configuration, certificates and the _vaulthalla account:

1sudo "/Library/Application Support/Vaulthalla/uninstall.sh" --purge

With Homebrew, brew uninstall --cask valkyrianlabs/tap/vaulthalla-server keeps data and brew uninstall --zap --cask valkyrianlabs/tap/vaulthalla-server purges it. 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.