Restart a Homebrew Service with brew services
Stop and start a Homebrew-managed background service in one step so config changes take effect.
01Command
$ brew services restart <formula>02What it does
Formulae such as redis, postgresql and nginx register their background daemons with launchd through brew services. The restart subcommand stops the service if it is running, starts it again immediately, and keeps it registered to launch at login, so you do not have to touch launchctl yourself. brew services list shows every managed service and whether it is started, stopped, or in error.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- brew(1) manpage source (Homebrew/brew)Evidence: The command reference includes the brew services restart section: stop (if necessary) and start the service immediately, registering it to launch at login or boot.
- brew(1) — The Package Manager for EverywhereEvidence: The manpage documents "[sudo] brew services restart (formula|--all)": "Stop (if necessary) and start the service formula immediately and register it to launch at login (or boot)."
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Point macOS screen captures at any folder you choose instead of the desktop.
Grab any file from the web straight into the current folder — no browser needed.
List the biggest files in your home folder that are eating disk space.