Mac

To list all packages installed with brew

To see if a specific package installed, run

List open ports

Restart apache2

Disable Apache from starting on boot

Or