Updating
Homebrew
Section titled “Homebrew”brew update && brew upgrade --cask rexenvDisk image
Section titled “Disk image”Quit rexenv, then drag the new copy over the old one in Applications.
The Gatekeeper right-click → Open step is only needed the first time you ever install — an update over an app you have already approved opens normally.
What survives an update
Section titled “What survives an update”Everything that matters:
- Your sites, their files and their databases
- Downloaded components — nothing re-downloads
- Settings, blueprints, certificates and CA trust
- The resolver files and the edge daemon
They live in ~/Library/Application Support/dev.rexenv.rexenv/ and in the system locations
listed under Where things live, not inside the app bundle.
Component versions do not change on their own
Section titled “Component versions do not change on their own”Updating rexenv can bring new pinned versions of PHP, nginx or a database engine. Those are part of the release, listed in its notes, and never a background download that changes your stack while you are working — see Pinned versions.
A new PHP minor becoming available does not switch any existing site to it.
Checking what you have
Section titled “Checking what you have”rex versionPrints the app and CLI versions. They should match; a mismatch usually means an old rex is
earlier on your PATH than the one the current install linked.