Installing NGINX on MAC

Anil Verma's photo
Anil Verma
·Sep 25, 2022·

Subscribe to my newsletter and never miss my upcoming articles

Play this article

Table of contents

  • Nginx

Nginx

Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. It started out as a web server designed for maximum performance and stability.

Installing Nginx using Homebrew

Homebrew — Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s operating system.

Step- 1- Installing Homebrew

Run below command in terminal

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step -2- Update Homebrew

Run below command in terminal

brew update

Step -3- Install Nginx

Run below command in terminal

brew install nginx

Step -4- Validate Nginx installation

Run below command in terminal

nginx

It will start the web server.

Happy Learning…. 🙏🙏🙏

 
Share this