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
- jpeg-archive
Utilities for archiving JPEGs for long term storage - xcompress
XCompress is a free file archiver utility on Linux, providing multi-format archiving to and extracting from ZIP, Z,… - pax
Portable Archive Interchange archive tool - svu
Semantic version utility - zdump
A Rust version of the zdump utility. - thwack
Command line version of Go To File utility, similar to the one on GitHub - conventional_commits_next_version
A tooling and language agnostic utility to calculate the next semantic version based on the Conventional Commits since… - genversion
A command line utility to read version from package.json and attach it into your module as a property release version…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents