Skip to content

Conversation

@The-Best-Codes
Copy link
Collaborator

@The-Best-Codes The-Best-Codes commented Jul 10, 2025

Important

This PR isn't ready to merge yet! I'm waiting for feedback from the team & community.

The current installation method for Windows requires a download_cli.sh script to be run, which requires WSL or Git Bash on Windows (it's not native) and frequently has issues.
This PR creates a native download_cli.ps1 script for Windows which installs Goose the same way as download_cli.sh but using Windows supported PowerShell commands.

@The-Best-Codes
Copy link
Collaborator Author

I have a question: Should I also update the docs in this PR to use the PS1 script (assuming the Goose team accepts it at all), or will somebody else do that?

@The-Best-Codes
Copy link
Collaborator Author

The-Best-Codes commented Jul 10, 2025

Note: According to other contributors:

The VS Code extension is looking for resources/bin/goosed in a particular set of directories.

I need to test that on Windows with this new script.

@cbruyndoncx
Copy link
Contributor

I have goose installed already with git bash, so got this error:
Downloading stable release: goose-x86_64-pc-windows-gnu.zip...
Download completed successfully.
Created temporary directory: C:\Users\bruyn\AppData\Local\Temp\goose_install_1761177838
Extracting goose-x86_64-pc-windows-gnu.zip to temporary directory...
Extraction completed successfully.
Found goose-package subdirectory, using that as extraction directory
Moving goose to C:\Users\bruyn.local\bin\goose.exe
C:\Users\bruyn\Downloads\download_cli.ps1 : Failed to move goose.exe to C:\Users\bruyn.local\bin\goose.exe. Error: Cannot create a file when that file already exists.
At line:1 char:1

  • .\download_cli.ps1
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,download_cli.ps1
    

@cbruyndoncx
Copy link
Contributor

cbruyndoncx commented Jul 12, 2025

Used the developer shell only in that version i got gemini cli working
Looking good opens the configure dialogbox
And i did the in session bit, and the user path setup, no errors
image

@cbruyndoncx
Copy link
Contributor

@The-Best-Codes the scripts works fine for a new installation
for existing installation, it does not overwrite in .local/bin , but does pick up that there is a config.yaml already.

@The-Best-Codes
Copy link
Collaborator Author

The-Best-Codes commented Jul 12, 2025

@cbruyndoncx I will fix that later today! Thanks for testing! ❤️

@The-Best-Codes
Copy link
Collaborator Author

Got busy on the weekend. Will try to address some things tomorrow...

@The-Best-Codes
Copy link
Collaborator Author

@cbruyndoncx The issue you had should be fixed.

Signed-off-by: The-Best-Codes <[email protected]>
Signed-off-by: The-Best-Codes <[email protected]>
@The-Best-Codes The-Best-Codes force-pushed the best/download-cli-ps1 branch from 1a8e96f to eeefc62 Compare July 16, 2025 18:24
@The-Best-Codes
Copy link
Collaborator Author

I just force pushed new signed-off commits. The DCO check should pass now.

@The-Best-Codes The-Best-Codes force-pushed the best/download-cli-ps1 branch from 12397a8 to 0f8d5e2 Compare July 16, 2025 18:36
@Kvadratni Kvadratni merged commit 2a89c89 into block:main Jul 16, 2025
7 checks passed
lifeizhou-ap added a commit that referenced this pull request Jul 17, 2025
* main:
  feat(gcpvertexai): do HTTP 429 like retries for Anthropic API HTTP 529 overloaded status code (#3026)
  Fix a few ui edge cases - refresh occasionally crashing, chat loader over text and chat input height returning to auto (#3469)
  Don't default to main for build-cli (#3467)
  docs: add MongoDB MCP server tutorial (#2660)
  feat: run sub recipe multiple times in parallel (Experimental feature) (#3274)
  chore(release): release version 1.1.0 (#3465)
  chore: implement streaming for anthropic.rs firstparty provider (#3419)
  Fix regression: add back detail to tool-call banners (#3231)
  Document release process and update some just recipes (#3460)
  feat: add download_cli.ps1 file for windows (#3354)
  fix: session_file is optional (#3462)
  Bump more space for goose is working on it so it doesnt overlap incoming agent chat messages (#3453)
  Align chat input action buttons to bottom when large amount of text (#3455)
  docs: add Cloudflare MCP Server tutorial (#3278)
  feat(cli): Clear persisted session file with /clear command (#3145)
s-soroosh pushed a commit to s-soroosh/goose that referenced this pull request Jul 18, 2025
kwsantiago pushed a commit to kwsantiago/goose that referenced this pull request Jul 19, 2025
Signed-off-by: The-Best-Codes <[email protected]>
Signed-off-by: Kyle Santiago <[email protected]>
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
atarantino pushed a commit to atarantino/goose that referenced this pull request Aug 5, 2025
Signed-off-by: The-Best-Codes <[email protected]>
Signed-off-by: Adam Tarantino <[email protected]>
@The-Best-Codes The-Best-Codes deleted the best/download-cli-ps1 branch November 11, 2025 15:23
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.

3 participants