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

bug: Can not install in Windows #234

@juanjgit

Description

@juanjgit

Describe the bug
The install.bat script fails on Windows 11

To Reproduce
Steps to reproduce the behavior:

  1. Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/janhq/nitro/main/install.bat' -OutFile 'install.bat'
  2. .\install.bat
  3. 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

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions