unpack a tar.gz file windows code example Example 1: how to untar tar.gz tar xvzf file.tar.gz Example 2: how to open tar.gz file in windows 10 tar -xvzf <filename.tar.gz>