AptLynx

Command-line tool

gnu-tar

brew/gnu-tar

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

GNU version of the tar archiving utility

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.Tar -e
scoop install tar

macOS

brew install gnu-tar

Linux

brew install gnu-tar

[c]reate an archive and write it to a [f]ile

tar cf path/to/target.tar path/to/file1 path/to/file2 ...

[c]reate a g[z]ipped archive and write it to a [f]ile

tar czf path/to/target.tar.gz path/to/file1 path/to/file2 ...

[c]reate a g[z]ipped (compressed) archive from a directory using relative paths

tar czf path/to/target.tar.gz -C path/to/directory .

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