feat: Windows setup.ps1 with pre-requisites and delegates to ./setup via Git Bash#657
Open
jimmckeeth wants to merge 6 commits intogarrytan:mainfrom
Open
feat: Windows setup.ps1 with pre-requisites and delegates to ./setup via Git Bash#657jimmckeeth wants to merge 6 commits intogarrytan:mainfrom
jimmckeeth wants to merge 6 commits intogarrytan:mainfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows installer PowerShell script that encapsulates
./setupvia Git Bash.On Windows, you can use the PowerShell wrapper instead of
./setup. It auto-installsNode.js,Bun, andGitviawingetif they're missing, then delegates to./setupinside Git Bash. Git Bash has the same home path as Windows (unlike WSL) so the sills install when run outside Git Bash too.The window stays open for 20 seconds after setup completes so you can read the output. Control this with flags:
--keep-open--auto-closeAll other flags (
--no-browser,--prefix,--no-prefix,--host, etc.) are forwarded to./setup.