AptLynx

Command-line tool

file-formula

brew/file-formula

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

Utility to determine file types file gnuwin32

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 GnuWin32.File -e
scoop install file

macOS

brew install file-formula

Linux

brew install file-formula

Give a description of the type of the specified file

file path/to/file

Do not print the filepath

file -b path/to/file

Look inside a zipped file and determine the file type(s) inside

file -z path/to/file.zip

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