Automic VaultAutomic Vault

brew

Install tofrodos with Homebrew, apt, dnf

Converts DOS UNIX text files, alias tofromdos. Version 2.1.1 via Homebrew; verified 2026-04-20.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tofrodos

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install tofrodos

Debian stable package indexes · tofrodos · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install tofrodos

Fedora Rawhide package metadata · tofrodos · source: dl.fedoraproject.org

overview

Package summary

Converts DOS UNIX text files, alias tofromdos

Commands and aliases

  • fromdos
  • todos

history

Project history and usage

Tofrodos is a small command-line text conversion package for moving files between DOS/Windows CRLF line endings and Unix LF line endings.

Project history

The upstream README describes Tofrodos as two programs, fromdos and todos, that convert ASCII and UTF-8 text files between DOS and Unix newline formats. It is intentionally portable across Unix-like systems, Windows consoles, and DOS-family environments.

The package keeps the older Unix utility convention of behavior-by-command-name: the same program can be installed or renamed as fromdos, todos, dos2unix, or unix2dos, and it chooses the conversion direction from the invoked name.

Adoption history

The upstream documentation points Linux users to distribution repositories, and the package record shows it available through Homebrew, Debian, Ubuntu, and Fedora/DNF.

How it is used

Typical use is direct shell conversion of one or more text files, wildcard batches, or pipeline use such as converting output before comparing it with diff.

Why package nerds care

Tofrodos matters as a tiny packaging-era compatibility utility: it solves the recurring CRLF/LF problem without pulling in a larger editor or VCS workflow, and its fromdos/todos command names are easy to script.

Timeline

  • Current: Distributed as fromdos and todos for DOS-to-Unix and Unix-to-DOS newline conversion.
  • Current: Packaged by Homebrew, Debian, Ubuntu, and Fedora/DNF according to the input package-manager facts.

Related projects

  • dos2unix and unix2dos are related command names and behaviors explicitly supported by Tofrodos.
  • The package belongs to the same niche as other newline-normalization tools used in cross-platform source trees.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
fromdoscliglobal executable
todoscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.1.1
manager updated2026-04-20
local dataok
upstreamcurrent
latest detected2.1.1

https://github.com/ChristopherHeng/tofrodos

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tofrodos
Version2.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tofrodos
Homepagehttps://github.com/ChristopherHeng/tofrodos
Repositoryhttps://github.com/ChristopherHeng/tofrodos
Upstream docshttps://github.com/ChristopherHeng/tofrodos#readme
LicenseGPL-2.0-only
Source archivehttps://github.com/ChristopherHeng/tofrodos/archive/refs/tags/2.1.1.tar.gz
Last updated2026-04-20T14:22:41-04:00
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametofrodos
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

tofrodos 1.7.13+ds-6

Converts DOS <-> Unix text files, alias tofromdos

https://www.thefreecountry.com/tofrodos/index.shtml

sudo apt install tofrodos
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Tofrodos
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tofrodos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

tofrodos 1.7.13+ds-6

Converts DOS <-> Unix text files, alias tofromdos

https://www.thefreecountry.com/tofrodos/index.shtml

sudo apt install tofrodos
  • Section: universe/utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Tofrodos
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tofrodos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

tofrodos 1.7.13-27.fc43

Converts text files between MSDOS and Unix file formats

http://www.thefreecountry.com/tofrodos/

sudo dnf install tofrodos
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tofrodos
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Tofrodos
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tofrodos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment