Articles tagged: MacOS

How to Flush DNS Cache in MacOS Catalina & Big Sur

Use the following commands to flush your DNS cache in MacOS. The commands are slightly different depending on your version of MacOS. First, make sure you’ve opened up your terminal on your computer.

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

How to install homebrew on MacOS

What is HomeBrew

Homebrew is the missing package manager for macOS. You can use Homebrew to install command line packages on a Mac, provided someone has written a formulae, which is a simple Ruby script that walks through the process for installing all the little bits required for a piece of software.

Installing HomeBrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Once the installation has finished, execute the following command to check your HomeBrew version.