How to install dos2unix MacOS
dos2unix is a tool to convert line breaks in a text file from DOS format to Unix format and vice versa. When invoked as unix2dos the program will convert a Unix text file to DOS format, when invoked as dos2unix it will convert a DOS text file to UNIX format.
- Open Terminal by pressing
<command+space>
. Type terminal and hitEnter
key. - Install dos2unix using brew
brew install dos2unix
install dos2unix on MAC |
That's it , dos2unix is readynow. But if it does not work , then close your terminal and start it again, you'll find the dos2unix.
No comments