GNU tar can autodetect the compression algorithm, both for compression and decompression.
$ tar -caf dst.tar.zst /src
$ tar -xaf src.tar.zst
(it's fine to omit -a for decompression)