Skip to content

ops: add install.sh for curl-pipe-bash install - #111

Merged
unhappychoice merged 3 commits into
mainfrom
ops/install-script
Apr 24, 2026
Merged

unhappychoice merged 3 commits into
mainfrom
ops/install-script

Conversation

@unhappychoice

Copy link
Copy Markdown
Owner

Follows gitlogue's install.sh pattern.

Summary

  • Detects platform: Linux/macOS × x86_64/aarch64 (Windows users fall back to cargo/binstall/GH Releases).
  • Downloads the matching tarball from the latest GitHub Release.
  • Drops the binary into `$HOME/.local/bin` (overridable via `INSTALL_DIR=...`).
  • Nudges toward `splashboard install` for shell-rc wiring.
  • glibc check threshold = 2.17 (matches the cargo-zigbuild pin in release.yml, so the check is essentially a safety net for truly ancient systems).

README gains a fifth install channel pointing at `curl -fsSL …/install.sh | bash`.

Test plan

  • After the first `v0.x.y` tag ships, run the one-liner on Linux x86_64 and confirm the binary lands in `~/.local/bin` and `splashboard --version` prints.
  • Repeat on macOS (aarch64) and Linux aarch64 if available.
  • Confirm `INSTALL_DIR=/tmp/sb-test bash install.sh` installs to the override path.

🤖 Generated with Claude Code

Mirrors gitlogue's install.sh: detects platform (Linux/macOS × x86_64/aarch64), downloads the matching tarball from the latest GitHub Release, drops the binary into $HOME/.local/bin (overridable via $INSTALL_DIR), and nudges toward `splashboard install` for shell-rc wiring.

glibc check threshold is 2.17, matching the cargo-zigbuild pin in release.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 24, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@unhappychoice has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 38 minutes and 23 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 38 minutes and 23 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0a0eebec-0940-421e-b0e9-06f2f56367f0

📥 Commits

Reviewing files that changed from the base of the PR and between bd02a9c and f02d902.

📒 Files selected for processing (3)
  • README.md
  • docs-site/src/content/docs/guides/getting-started.md
  • install.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ops/install-script

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Apr 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.01%. Comparing base (8b90895) to head (f02d902).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   77.01%   77.01%           
=======================================
  Files          92       92           
  Lines       15508    15508           
=======================================
  Hits        11944    11944           
  Misses       3564     3564           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

unhappychoice and others added 2 commits April 25, 2026 06:40
The one-liner is the lowest-friction path (no toolchain, no tap setup, just one curl), so it should be the headline. Everything else — cargo / brew / binstall / nix — moves into a collapsed "Other install methods" section.

Nix support is now first-class (flake.nix added in #109), so surface it in the list.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Promote install.sh as the primary install method on the Getting Started
page, fold cargo / brew / binstall / nix into an "Other install methods"
collapsible, matching the README after #111.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@unhappychoice
unhappychoice merged commit 33c4b07 into main Apr 24, 2026
7 checks passed
@unhappychoice
unhappychoice deleted the ops/install-script branch April 24, 2026 21:45
@unhappychoice unhappychoice mentioned this pull request Apr 24, 2026
9 tasks done
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