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