Install
One binary for the CLI and daemon (Apple silicon or Intel), one app for the GUI (Apple silicon).
Requirements
- macOS 12 or later for the CLI and daemon, and macOS 13 or later for the desktop app. The CLI runs the shared stack and every feature in Docker. The daemon is a launch agent.
- Docker with the Compose plugin. Docker Desktop, Colima and OrbStack all work. Give the VM enough memory for your stack times the number of features you run at once. Metrics shows how to measure it.
- git, and a monorepo with an
aspenx.yml. See the manifest. - Claude Code for the per-feature sessions. The QA agent also needs Node, for Playwright through
npx. - A terminal for the sessions. Ghostty is the default, and iTerm2 and tmux are scripted too. Any other terminal works by its app name, such as Warp. See
terminalunder Commands. - Optional tools:
ghforaspenx pr,cloudflaredforaspenx tunnelandaspenx review, andterminal-notifierfor notifications you can click. Withoutterminal-notifier, notifications still appear throughosascript.
The install script
curl -fsSL https://aspenx.dev/install.sh | sh
The script downloads the tarball for your architecture from aspenx.dev/releases/ and checks its SHA-256. It installs the binary at ~/.aspenx/bin/aspenx and links it into the first writable directory of /opt/homebrew/bin, /usr/local/bin and ~/.local/bin. When none is writable, it creates ~/.local/bin. If the linked directory isn’t on your PATH, the script prints the line to add.
Without --with-deps, the script installs nothing else. For a missing git, Docker or Claude Code, it prints the command that installs it, and it prints one brew install line for the optional tools. When Homebrew already manages aspenx, the script stops and tells you to run brew upgrade instead.
Options go after sh -s --, variables before sh:
curl -fsSL https://aspenx.dev/install.sh | sh -s -- --gui --with-deps
curl -fsSL https://aspenx.dev/install.sh | ASPENX_VERSION=0.9.12 sh
| Option | Effect |
|---|---|
--with-deps |
brew install the optional tools (gh, cloudflared, terminal-notifier), when Homebrew is present |
--gui |
also install AspenX.app into /Applications (~/Applications when that is not writable) and clear its quarantine flag |
ASPENX_VERSION=0.9.12 |
install that version instead of the latest |
ASPENX_HOME=<dir> |
state directory and binary location other than ~/.aspenx; export it for later commands too |
ASPENX_BASE_URL=<url> |
download from another host than https://aspenx.dev |
The binary lives in ~/.aspenx/bin because of how macOS treats launch agents. One that opens an executable under ~/Documents, ~/Desktop or ~/Downloads stays blocked until the user answers a consent dialog, and macOS never shows that dialog. The daemon, the Claude Code hooks and the app all run this copy. When you run a binary from somewhere else, aspenx init and aspenx daemon install copy it here.
Homebrew
brew install aspenxdotdev/aspenx/aspenx
The tap is AspenXdotdev/homebrew-aspenx. The formula downloads the same tarball as the install script, so you get the same binary either way. aspenx init or aspenx daemon install then copies it to ~/.aspenx/bin.
The pkg (Jamf and other MDMs)
The release ships aspenx-<version>.pkg, a standard installer package. It puts a universal aspenx binary at /usr/local/bin/aspenx and the Apple silicon AspenX.app in /Applications. Deploy it with Jamf, Kandji or Mosyle, or run sudo installer -pkg aspenx-0.9.12.pkg -target /. The package identifier is dev.aspenx.pkg.
The package sets nothing up per user. Each user still runs aspenx init or the app’s setup wizard, which copies the binary to their own ~/.aspenx/bin and installs their daemon. The app doesn’t run on an Intel Mac, so Intel users work from the CLI.
The app is ad-hoc signed and the package is unsigned. Neither has a Developer ID signature. MDMs install packages as root, which skips Gatekeeper. To install the package by hand, open it, then click Open Anyway under System Settings > Privacy & Security. On macOS 14 and earlier, right-click it and choose Open instead. The package’s postinstall script clears the app’s quarantine flag.
The desktop app
Download AspenX-<version>.zip from the release, or run the install script with --gui. The first time you open a zip downloaded in a browser, macOS asks you to click Open Anyway under System Settings > Privacy & Security. The install script’s --gui clears the quarantine flag, so that copy opens directly.
The app runs $ASPENX_BINARY if it is set. Otherwise it runs ~/.aspenx/bin/aspenx, under $ASPENX_HOME when that is set, and falls back to aspenx from your login shell’s PATH. It talks to the daemon over ~/.aspenx/daemon.sock. On a Mac with no monorepo configured, the app opens on its setup wizard. The wizard does what aspenx init does, and drafts an aspenx.yml for a monorepo that has none.
Releases
Every version lives at https://aspenx.dev/releases/<version>/, with a .sha256 beside each file. Its release.json lists the version’s files with their URL, SHA-256 and size. https://aspenx.dev/releases/latest.json names the current version, and releases/index.json lists every version. Older versions may lack some files. The current release has all four:
| File | Contents |
|---|---|
aspenx-<v>-darwin-arm64.tar.gz |
the CLI for Apple silicon |
aspenx-<v>-darwin-amd64.tar.gz |
the CLI for Intel |
aspenx-<v>.pkg |
universal CLI plus the Apple silicon app, for MDM |
AspenX-<v>.zip |
the app alone (Apple silicon) |
Current version: 0.9.12.
After installing
aspenx init --monorepo <path> # checks prerequisites, starts shared Postgres, Redis and Caddy,
# trusts the Caddy CA, installs the launchd daemon
aspenx template rebuild # builds the template databases the features clone
aspenx doctor # everything the machine should and should not have
init asks for your login password to trust the Caddy CA in the keychain. --skip-trust skips that step, and --trust-timeout sets how long init waits for the password, 2 minutes by default. When the monorepo is under ~/Documents, ~/Desktop or ~/Downloads, init also raises macOS’s Files and Folders consent dialog for the daemon and waits for you to click Allow. --no-daemon skips the launch agent, and init --check only reports the prerequisites. You can run init again at any time. It repairs what’s missing and leaves the rest alone.
On a Mac with everything in place, init --check prints:
$ aspenx init --check
ok git git version 2.50.1 (Apple Git-155)
ok docker Docker version 29.7.2, build a7dcaa6fdb
ok docker daemon engine 29.5.2
ok docker compose v5.4.0
ok caddy runs as a container in aspenx-shared
ok gh gh version 2.97.0 (2026-07-31)
ok claude 2.1.308 (Claude Code)
ok cloudflared cloudflared version 2026.10.0 (built 2026-10-05T15:39:13Z)
ok security (keychain) for trusting the Caddy CA
template rebuild ends with one line per template:
$ aspenx template rebuild --yes
template rebuild from main (68f9a07f3fd8) will:
create app_template for api (seed: sh -c psql "$DATABASE_URL" -v ON_ERROR_STOP=1 -q -f /app/db/seed.sql)
create billing_template for billing (seed: sh -c psql "$DATABASE_URL" -v ON_ERROR_STOP=1 -q -f /app/db/seed.sql)
…
api app_template seeded=true grants=nothing 4s
billing billing_template seeded=true grants=nothing 1s
Upgrading
In the app, click the green arrow in the top bar when it appears. From a terminal, run aspenx update, which does the steps below for whichever way you installed: brew upgrade aspenx or the install script, then the app if it is installed, then aspenx daemon install. aspenx update --check only says whether a newer release is out.
By hand: With Homebrew, run brew upgrade aspenx, then aspenx daemon install. That copies the new binary to ~/.aspenx/bin and restarts the daemon. With the install script, run it again. It replaces ~/.aspenx/bin/aspenx itself, and aspenx daemon install then restarts the daemon on the new binary. To upgrade the app, run the script with --gui or install the new pkg.
Uninstall
aspenx ls # then `aspenx drop <feature>` for each
aspenx daemon uninstall
aspenx login --logout # if signed in: removes the keychain token
docker compose -p aspenx-shared down # the shared Postgres, Redis and Caddy
rm -rf ~/.aspenx # state DB, config, the binary copy, logs, shared/ (compose file, Caddy config and CA)
brew uninstall aspenx # or remove the symlink the script made
rm -rf /Applications/AspenX.app # if you installed the app
sudo rm /usr/local/bin/aspenx && sudo pkgutil --forget dev.aspenx.pkg # if you installed the pkg
These steps leave four things behind. Remove them by hand if you want them gone:
- the Caddy CA in your login keychain, which you can delete in Keychain Access;
- the
aspenx/<project>:<id>images, listed bydocker image ls 'aspenx/*'; - the template databases in the shared Postgres volume, listed by
docker volume ls | grep aspenx; - the features root folder.