Skip to content

fix: make install.sh seamless and cross-platform compatible#68

Merged
RaghavSood merged 1 commit intomainfrom
fix/issue-65-create-installation-script-v2
Mar 11, 2026
Merged

fix: make install.sh seamless and cross-platform compatible#68
RaghavSood merged 1 commit intomainfrom
fix/issue-65-create-installation-script-v2

Conversation

@RaghavSood
Copy link
Contributor

  • Add -y flag to apt-get install for non-interactive package installs
  • Fix Go version detection (grep -oP is not available on macOS)
  • Fix Go download URL using "darwin" instead of "macos"
  • Add interactive skip option for GitHub CLI and OpenCode authentication
  • Fix sed -i cross-platform compatibility (macOS requires backup suffix)
  • Remove invalid local keyword outside function in cron script
  • Return 0 instead of 1 in non-interactive auth to not break the install

- Add -y flag to apt-get install for non-interactive package installs
- Fix Go version detection (grep -oP is not available on macOS)
- Fix Go download URL using "darwin" instead of "macos"
- Add interactive skip option for GitHub CLI and OpenCode authentication
- Fix sed -i cross-platform compatibility (macOS requires backup suffix)
- Remove invalid `local` keyword outside function in cron script
- Return 0 instead of 1 in non-interactive auth to not break the install

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@RaghavSood RaghavSood merged commit 74d59fd into main Mar 11, 2026
1 check passed
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