how to install nginx using package on mac code example Example: nginx on mac brew install nginx brew services start nginx