You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support seamless cross-platform Justfile execution across Windows #97
By default, just looks for a POSIX shell (sh). Windows does not include this by default, which breaks the onboarding experience for Windows contributors even if Git Bash is installed.
Workaround
The following configuration currently works:
set unstable := true // Allows experimental features like [group(...)]
set windows-shell := ["powershell.exe", "-Command"] // Allows just to use PowerShell on Windows.
Proposed Solution
Update the Justfile to support windows-shell
Example:
set unstable := true
set shell := ["sh", "-c"]
set windows-shell := ["powershell.exe", "-Command"]
This improves the onboarding experience for Windows contributors and avoids requiring a separate POSIX shell installation such as Git Bash, MSYS2, or WSL.
This looks useful for improving the Windows contributor setup. I’m interested in helping with this, especially around making the Justfile work cleanly across Windows, macOS, and Linux.
Are you planning to open a PR for it? If yes, I’m happy to follow along or help review/test. If not, I can take a look and work on a focused PR for this.
Hi @j-kon thanks for reaching out.
I'm actually planning to open a PR because i also find another issue with generate_bindings.sh script on windows which could be addressed through the justfile recipe. I'll appreciate your help reviewing/testing it after.
I’ll hold off on opening a PR then. Happy to help review/test once you open it, especially around checking the Justfile behavior on macOS/Linux and making sure the Windows changes don’t break the existing workflow.
The generate_bindings.sh part also sounds worth looking at carefully since it may need a clear fallback or docs for Windows contributors.
Activity
j-kon commentedon Jun 26, 2026
Hi @MusabYK, thanks for opening this issue.
This looks useful for improving the Windows contributor setup. I’m interested in helping with this, especially around making the Justfile work cleanly across Windows, macOS, and Linux.
Are you planning to open a PR for it? If yes, I’m happy to follow along or help review/test. If not, I can take a look and work on a focused PR for this.
MusabYK commentedon Jun 26, 2026
Hi @j-kon thanks for reaching out.
I'm actually planning to open a PR because i also find another issue with generate_bindings.sh script on windows which could be addressed through the justfile recipe. I'll appreciate your help reviewing/testing it after.
j-kon commentedon Jun 26, 2026
Thanks @MusabYK, sounds good.
I’ll hold off on opening a PR then. Happy to help review/test once you open it, especially around checking the Justfile behavior on macOS/Linux and making sure the Windows changes don’t break the existing workflow.
The
generate_bindings.shpart also sounds worth looking at carefully since it may need a clear fallback or docs for Windows contributors.MusabYK commentedon Jun 27, 2026
Hi @j-kon could you please take a look at the PR? #100