zstd
Compress or decompress files with Zstandard compression. More information: <https://github.com/facebook/zstd>.
Install
- All systems
-
curl cmd.cat/zstd.sh
- Debian
-
apt-get install zstd
- Ubuntu
-
apt-get install zstd
- Alpine
-
apk add zstd
- Arch Linux
-
pacman -S zstd
- Kali Linux
-
apt-get install zstd
- Fedora
-
dnf install zstd
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install zstd
- OS X
-
brew install zstd
- Raspbian
-
apt-get install zstd
- Dockerfile
- dockerfile.run/zstd
- Docker
-
docker run cmd.cat/zstd zstd
powered by Commando
Compress or decompress files with Zstandard compression. More information: <https://github.com/facebook/zstd>.
-
Compress a file into a new file with the `.zst` suffix:
zstd path/to/file
-
Decompress a file:
zstd --decompress path/to/file.zst
-
Decompress to `stdout`:
zstd --decompress --stdout path/to/file.zst
-
Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:
zstd -level path/to/file
-
Unlock higher compression levels (up to 22) using more memory (both for compression and decompression):
zstd --ultra -level path/to/file
© tl;dr; authors and contributors