This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Description
Describe the bug
The install.bat script fails on Windows 11
To Reproduce
Steps to reproduce the behavior:
- Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/janhq/nitro/main/install.bat' -OutFile 'install.bat'
- .\install.bat
- See error:
>
Removing existing Nitro installation...
latest
Downloading Nitro from: https://github.com/janhq/nitro/releases/download/v0.1.20/nitro-0.1.20-win-amd64.tar.gz
Extracting Nitro...
Expand-Archive : .gz is not a supported archive file format. .zip is the only supported archive file format.
At line:1 char:1
+ Expand-Archive -Path 'C:\Users\JUAN~1.ACE\AppData\Local\Temp\nitro.ta ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (.gz:String) [Expand-Archive], IOException
+ FullyQualifiedErrorId : NotSupportedArchiveFileExtension,Expand-Archive
Expected behavior
Installer should run with no errors and successfully install or at least return an error message with the required minimum powershell version.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- PowerShell: 5.1