Skip to content

feat: Windows setup.ps1 with pre-requisites and delegates to ./setup via Git Bash#657

Open
jimmckeeth wants to merge 6 commits intogarrytan:mainfrom
jimmckeeth:windows-installer
Open

feat: Windows setup.ps1 with pre-requisites and delegates to ./setup via Git Bash#657
jimmckeeth wants to merge 6 commits intogarrytan:mainfrom
jimmckeeth:windows-installer

Conversation

@jimmckeeth
Copy link
Copy Markdown

@jimmckeeth jimmckeeth commented Mar 30, 2026

Windows installer PowerShell script that encapsulates ./setup via Git Bash.

On Windows, you can use the PowerShell wrapper instead of ./setup. It auto-installs Node.js, Bun, and Git via winget if they're missing, then delegates to ./setup inside Git Bash. Git Bash has the same home path as Windows (unlike WSL) so the sills install when run outside Git Bash too.

.\setup.ps1 --keep-open --auto
#              ^          ^ Passed to setup
#              | Handled by setup.ps1

The window stays open for 20 seconds after setup completes so you can read the output. Control this with flags:

Flag Behavior
(default) Prompts "Autoclose [Y/n]" — auto-closes after 20s
--keep-open Drops to an interactive bash shell after setup completes
--auto-close Closes the window immediately on completion

All other flags (--no-browser, --prefix, --no-prefix, --host, etc.) are forwarded to ./setup.

setup.ps1 is a PowerShell wrapper of `./setup`. It auto-installs Node.js, Bun, and Git via winget if they're missing, then delegates to `./setup` inside Git Bash. This maintains the home path and allows operation outside Git Bash in the future.
@jimmckeeth jimmckeeth changed the title feat: --no-browser setup flag and version v0.14.1.0 feat: Windows setup.ps1 with pre-requisites and delegates to ./setup via Git Bash Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant