Rectangle vs AeroSpace
For most people, Rectangle: it's our default window manager. Snap windows to halves and corners with shortcuts, free and open source. AeroSpace is the one to choose if its angle suits you better: An i3-style tiling window manager that needs no SIP changes, the current favourite for keyboard people.
RectangleHomebrew · Our pick
Snap windows to halves and corners with shortcuts, free and open source.
$ brew install --cask rectangleAeroSpaceHomebrew
An i3-style tiling window manager that needs no SIP changes, the current favourite for keyboard people.
$ brew install --cask nikitabobko/tap/aerospaceCan't decide? Try both
Both are on Homebrew, so you can install them side by side and keep the one you like:
$ brew install --cask rectangle nikitabobko/tap/aerospaceOther window managers to consider

Yabai
HomebrewThe original tiling window manager for macOS, scriptable from the shell.
brew install koekeishiya/formulae/yabai