Guide To Install dos2unix On Mac using Brew

Package Information:

Name: dos2unix
Use: Convert text between DOS, UNIX, and Mac formats

Installation Steps:

  1. Open Terminal by pressing <command+space>. Type terminal and hit Enter key.
  2. Copy and execute below command

    ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null
  3. Install dos2unix using brew
    brew install dos2unix

dos2unix is ready to use now!