Easy steps to install terraform-docs package on Mac

Package Information:

Application Name – terraform-docs
What is terraform-docs – Generate documentation from Terraform modules in various output formats … If you are a Mac OS X user, you can use Homebrew: brew install terraform-docs. or.
Use of terraform-docs – Tool to generate documentation from Terraform modules
URL – https://github.com/terraform-docs/terraform-docs

Installation Steps:

  1. Open Terminal using Spotlight search by pressing  <command+space>. Type terminal and hit  Enter  key.
  2. spotlight search terminal

  3. Now, run following command to install homebrew (brew)
  4. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

    Homebrew Install Command Screenshot

  5. Install terraform-docs using brew
    brew install terraform-docs

terraform-docs  is ready to use now!