How to Install fmt on Mac using Brew

Package Information:

Name: fmt
Use: fmt (formerly cppformat) is an open-source formatting library. It can be used as a safe alternative to printf or as a fast alternative to C++ IOStreams.
URL: https://fmtlib.github.io/

Installation Steps:

  1. Open Terminal.
  2. Now, run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install fmt using brew
    brew install fmt

fmt is ready to use now!