Install picker: platform buttons + Linux/Windows install methods#2
Conversation
Replace the platform select with a radiogroup of OS buttons. For Linux and Windows, add a second Install via row (also a radiogroup) with official paths from the upstream READMEs. Linux: order .deb vs .rpm first using a best-effort user-agent distro guess (DEB vs RPM families), then list the remaining options. git-fire adds curl script and Linuxbrew; git-rain adds a manual binary path alongside packages. Windows: winget plus a manual PowerShell + PATH snippet. Session keys store the chosen Linux/Windows method independently from OS; per-picker coercion skips methods that do not exist for that product while preserving the stored preference for other pickers. Made-with: Cursor
|
Warning Rate limit exceeded
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 54 minutes and 5 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Replaces the platform
<select>with OS button radiogroups (same pattern as the earlier platform PR) and adds a second “Install via” row when Linux or Windows is selected, so visitors can pick among documented install paths instead of a single combined block.Linux
.deb,.rpm,curlinstall script, Homebrew (Linux) — commands/notes aligned with the upstream README..deb,.rpm, binary archive (manual) — aligned with README.navigator.userAgent(many browsers omit distro → falls back to a neutral order: script-first for git-fire; deb-first for git-rain). When DEB or RPM is inferred, that method is listed first; others follow in the neutral sequence.unknown(explains that it is UA-based and best-effort).Windows
PATHsnippets from each README.Persistence
sessionStorage:git-fire-site-install-linux-methodandgit-fire-site-install-windows-methodstore the last chosen method; per-picker coercion applies when a stored method does not exist for the current product (e.g.brewstored from git-fire still applies when you view git-rain, which shows its first valid option without overwriting the stored value for git-fire).Verify
npm run buildBranch:
feature/install-or-methods