Install Ngnix On MacBook

A Developer ๐Ÿ˜€
2 min readMay 23, 2022

--

Nginx

Want to install a web server that also is used as a reverse proxy, load balancer, mail proxy, and HTTP cache. NGINX is the magic word. In this article, we will take a tour to install and verify the installation of Nginx on our favorite MacBooks.

Install NGINX on your macOS by following step by steps guide

Step 1: Install Homebrew

If homebrew is not installed on the machine, install it using the command line

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

Step 2: Update Homebrew Repository

Update homebrew repository to get all of the latest packages available

brew update

Step 4: Install NGINX

To install NGINX, run the brew install command and specify NGINX as the package name

brew install nginx

Step 5: Verify NGINX Status

One can verify the NGINX running status, one can use the brew services command

brew services list

Step 6: Nginx Commands

One can start, restart and stop the NGINX using the following commands

brew services start nginx
brew services restart nginx
brew services stop nginx

Conclusion

Ngnix is now installed and verified on the machine

Thanks
Thanks :)

Happy Hoisting :)

--

--

A Developer ๐Ÿ˜€
A Developer ๐Ÿ˜€

Written by A Developer ๐Ÿ˜€

Reader | Traveller | Freelancer | Android & Fullstack Developer | Open-Source Enthusiast | Loves Automation

No responses yet