extract tar.gz in windows code example Example 1: unzip tar.gz tar -xvf file.tar.gz Example 2: extract tar.gz linux command line tar xvzf file.tar.gz