Skip to content

Conversation

@wpfleger96
Copy link
Collaborator

Add a GOOSE_VERSION environment variable to the download_cli.sh install script to support installing arbitrary versions of Goose

This is a convenience to allow for integration testing of specific Goose versions to validate backwards compatibility. We verify the input version string is valid semver and prefix with v if not already present

GOOSE_VERSION is used with/without quotes, and the v prefix is auto added:

🐚 ~/Development/goose-fork wpfleger/support-install-versions GOOSE_VERSION=1.0.27 bash download_cli.sh 
Downloading v1.0.27 release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...
🐚 ~/Development/goose-fork wpfleger/support-install-versions GOOSE_VERSION="1.0.27" bash download_cli.sh
Downloading v1.0.27 release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...
🐚 ~/Development/goose-fork wpfleger/support-install-versions GOOSE_VERSION=v1.0.27 bash download_cli.sh 
Downloading v1.0.27 release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...
Moving goose to /Users/wpfleger/.local/bin/goose
🐚 ~/Development/goose-fork wpfleger/support-install-versions GOOSE_VERSION="v1.0.27" bash download_cli.sh
Downloading v1.0.27 release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...

Omitting GOOSE_VERSION still defaults to the latest stable release:

🐚 ~/Development/goose-fork wpfleger/support-install-versions bash download_cli.sh 
Downloading stable release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...

And CANARY takes precedence:

🐚 ~/Development/goose-fork wpfleger/support-install-versions CANARY=true bash download_cli.sh 
Downloading canary release: goose-aarch64-apple-darwin.tar.bz2...
Extracting goose-aarch64-apple-darwin.tar.bz2 to temporary directory...

@Kvadratni Kvadratni merged commit 6c2f2a1 into block:main Jun 25, 2025
6 checks passed
ahau-square pushed a commit that referenced this pull request Jun 25, 2025
* origin/main:
  Session file security updates (#3071)
  feat(ui): Add drag and drop support for opening sessions from finder. (#3070)
  Mnovich/fix cli permisisons (#3074)
  copy permission fix for cli (#3073)
  Update download_cli.sh to support arbitrary Goose versions (#3060)
  fix(temporal-service): makes the search for possible temporal paths parallel. (#3062)
  added MCPs menu item (#3066)
  fix missing dependencies for cli (#3065)
  feat: created sub recipe tools (#2982)
  attempt to build CLI native for Windows (#3058)
  docs: typo - wrong extension id (#3063)
  fix(docs): teach Goose how to spell “autonomous” 🪿📚 (#3061)
  feat (cli): list Groq-supported models (#3048)
  Fix session corruption issues (#3052)
  feat: update to get vector db path from env var for vector tool strategy (#3042)
  Fix Linux desktop download links to point to actual desktop versions (#3051)
  fix temporal build for windows (#3045)
  fix cron parsing for windows (#3044)
s-soroosh pushed a commit to s-soroosh/goose that referenced this pull request Jul 18, 2025
cbruyndoncx pushed a commit to cbruyndoncx/goose that referenced this pull request Jul 20, 2025
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.

2 participants