AptLynx

Command-line tool

dos2unix

brew/dos2unix

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Convert text between DOS, UNIX, and Mac formats linebreak-converter linebreakconverter line-break-converter convert-linebreaks convertlinebreaks convert-line-breaks dos-to-unix-linebreaks mac-to-unix-linebreaks unix-to-dos-linebreaks unix-to-mac-linebreaks

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id waterlan.dos2unix -e
scoop install dos2unix

macOS

brew install dos2unix

Linux

brew install dos2unix

Change the line endings of a file

dos2unix path/to/file

Create a copy with Unix-style line endings

dos2unix -n path/to/file path/to/new_file

Display file information

dos2unix -i path/to/file

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents