Skip to content

Where things live

~/Library/Application Support/dev.rexenv.rexenv/

Everything rexenv owns lives under here except your site files: the databases, every downloaded binary, the local certificate authority, the generated server configs, the logs, and the SQLite database holding the app’s own state.

Deleting this directory removes all of it. It is the right thing to remove for a clean slate and the wrong thing to remove casually — your databases are in it.

~/rexenv/Sites/

The default Sites folder, one folder per site, visible in Finder. Settings can point it somewhere else; sites already created keep the path they were created with.

~/Library/Application Support/dev.rexenv.rexenv/logs/

nginx, php-fpm, Caddy, the database engines and every per-site job write here — and so does the app itself, as rexenv.log, in every build rather than only in a development one. It has its own tab in the app’s log viewer, first in the list, because when a service did not start the reason is in rexenv’s log and not in that service’s empty file. It rotates at 2MB, keeping three files.

The app’s log is deliberately here rather than in ~/Library/Logs: one directory beats the platform convention when the convention splits a diagnosis across two places.

These are the only places rexenv touches beyond its own directory, and each one is undone by Settings → Remove system changes:

Path What Written by
/etc/resolver/rex Sends *.rex to rexenv’s DNS An admin prompt on first run
/etc/resolver/<tld> One per extra TLD you configure An admin prompt when you add it
A LaunchDaemon Runs the edge proxy as root on 80/443 An admin prompt on first run
A LaunchAgent Keeps DNS answering after you quit No prompt — user-level
Your login keychain rexenv’s local CA, trusted The Keychain prompt on first run

A linked site is the exception to all of the above: rexenv serves the folder where it already is, never copies it into its own directory, and never deletes it. Removing the site removes rexenv’s record of it and nothing else.

The same applies to plugins and themes added with repo link — deleting one unlinks it.

rex db export and wp dist-archive write to your Downloads folder and print the path.

rexenv does not write to the hosts file on any platform and does not modify your shell profile. On macOS it touches /usr/local only for the rex link you ask for in Settings, and no Homebrew prefix (the cask links rex there, which Homebrew removes on uninstall). On Windows it writes nothing under Program Files and needs no administrator approval to install. On Linux it writes system-wide only what the table above lists, beyond the package’s own files — and Remove system changes takes back every one of them.