# HOW TO: zstd ## Why? Way faster than bzip2, it's basically streaming compression with comparable compression levels. # Compress ```bash tar -cvf - foo | zstd -f --no-progress -o foo.tar.zst ``` # Decompress ```bash zstd -d -k -c -q foo.tar.zst | tar -xv ``` ## Don't forget to make sure it's installed (!) ### apt-based distros ```bash apt install -y zstd ``` ### yum-based distros ```bash yum install -y zstd ```