Guide To Install dos2unix On Mac using Brew

Package Information:

Name: dos2unix
Use: Convert text between DOS, UNIX, and Mac formats
URL: https://waterlan.home.xs4all.nl/dos2unix.html

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 https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install dos2unix using brew
    brew install dos2unix

dos2unix is ready to use now!