Forum Discussion
How can I untar or unzip tar.gz file on windows 11?
Tar.gz is a very popular archive format in Linux environment. Now, you can use the built-in tar command in powershell to unzip tar.gz file on Windows 11 or Windows 10.
In Windows 11, the tar command is a built-in utility for handling .tar, .tar.gz, .tar.bz2, and .zip archives. It is available in PowerShell and Command Prompt and works similarly to the Unix/Linux tar command.
Press Win + X and select Terminal (Admin) or PowerShell.
Navigate to the folder containing the .tar.gz file:
cd "C:\path\to\your\file"
Untar tar.gz file in Windows 11/10 with the following command:
tar -xzf filename.tar.gz
-x : Extract
-z : Decompress gzip
-f : Specify filename
The extracted files from tar.gz archive will appear in the same folder.
If you don't like the command line approache, pls use a dedicated app to untar tar.gz file on Windows.