Rex Multiplexer for Mac
A terminal multiplexer from the Ghostty author that keeps sessions alive after you quit.
How to get Rex Multiplexer
Rex Multiplexer isn’t on Homebrew. Public beta, invite from superlogical.com. Get it from the official site.
Official site: superlogical.com
Set up the rest of your Mac too
Add Rex Multiplexer to a Dock of the apps most people install on a new Mac, then copy one command that installs all of them.
Add Rex Multiplexer to my DockAlternatives to Rex Multiplexer

A fast native terminal from Mitchell Hashimoto, and the new default for a lot of developers.
brew install --cask ghostty
Warp
HomebrewA terminal with blocks and agents built in, popular with people new to the shell.
brew install --cask warp
iTerm2
HomebrewThe classic Terminal replacement, still in plenty of dotfiles.
brew install --cask iterm2