Command-line tool
lz4
brew/lz4
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Extremely Fast Compression algorithm
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install lz4
macOS
brew install lz4
Linux
brew install lz4
Compress a file
lz4 path/to/file
Decompress a file
lz4 -d file.lz4
Decompress a file and write to `stdout`
lz4 -dc file.lz4
Related command-line tools
- lrzip
Compression program with a very high compression ratio - xxhash
Extremely fast non-cryptographic hash algorithm - zstd
Zstandard is a real-time compression algorithm - rslint
Extremely fast JavaScript and TypeScript linter - minify-js
Extremely fast JavaScript minifier - ty
Extremely fast Python type checker, written in Rust python - ls-lint
Extremely fast file and directory name linter - ddup-bak
An archive format that supports multiple compression algorithms at once.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents