Skip to content

[Bug]: windows cli #221

@daruoktab

Description

@daruoktab

What happened?

Hi HelixDB team! 👋
I'm trying to get started with HelixDB on Windows but running into some issues:

The helix update command tries to install Linux/macOS binaries on Windows (shows "Unsupported system: MINGW64_NT")
The helix demo command fails with "The system cannot find the file specified" and suggests running sh http://call.sh but the file doesn't exist

I'm using the Windows binary (helix-cli-windows-amd64.exe) renamed to helix.exe. Could you provide proper Windows setup instructions or fix the Windows compatibility issues?
Thanks! 🙏

Image

Steps to reproduce

Environment

OS: Windows 10/11 with Git Bash/MINGW64
Helix CLI Version: v1.0.109
Downloaded from: https://github.com/HelixDB/helix-db/releases/download/v1.0.109/helix-cli-windows-amd64.exe

Setup Steps

Download helix-cli-windows-amd64.exe from the releases page
Rename it to helix.exe

Issue 1: Update Command Fails on Windows
Steps to reproduce:

Open Git Bash/MINGW64 terminal
Run: helix update

Expected behavior:

Should update the Windows binary to latest version

Actual behavior:
helix-cli version: v1.0.109, helix-db version: v1.0.107, remote helix version: v1.0.109
New HelixDB version is available! Run helix update to install the newest version!
User home directory: /c/Users/daru
Unsupported system: This installer only works on Linux AMD64 and macOS ARM64
Your system is: MINGW64_NT-10.0-26100 x86_64
Error while installing new helix-cli version: Command failed with status: exit code: 1
Issue 2: Demo Command Fails
Steps to reproduce:

Run: helix demo

Expected behavior:

Should run a complete demo and show results

Actual behavior:
helix-cli version: v1.0.109, helix-db version: v1.0.109, remote helix version: v1.0.109
Demoing Helix
└── helix-cli version: v1.0.109, helix-db version: v1.0.109, remote helix version: v1.0.109
Initialising Helix project...
Queries already exist in demo
└── helix-cli version: v1.0.109, helix-db version: v1.0.109, remote helix version: v1.0.109
Successfully transpiled queries
Successfully wrote queries file
└── Error: The system cannot find the file specified. (os error 2)
to see the results run sh call.sh

When trying to run the suggested command: sh call.sh or bash call.sh

Result:
/bin/bash: call.sh: No such file or directory

Version

1.0.109

Environment

Self-hosted

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions