Follow simple steps to install dub on Mac

Package Information:

Name: dub
Use: DUB is a build tool for D projects with support for automatically retrieving dependencies and integrating them in the build process.
URL: https://code.dlang.org/getting_started

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Run the following command

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install dub using brew
    brew install dub

dub is ready to use now!