Skip to content

Install OpenSRE

Before you begin

Make sure you have:

  • A terminal open in a code project
  • A Git repository (recommended for the full workflow demonstration)

Step 1: Install and start opensre

curl -fsSL https://install.opensre.com | bash -s -- -dc

Prebuilt Linux binaries need glibc 2.35 or newer (Ubuntu 22.04 or comparable); see Linux.

Open PowerShell and run:

& ([scriptblock]::Create((irm https://install.opensre.com/install.ps1))) -dc

See Windows.

Then start OpenSRE:

opensre

OpenSRE CLI welcome screen with the sign-in prompt

For PATH troubleshooting and platform requirements, see Install locally.

Step 2: Sign in

Choose Sign in or create account in the welcome screen. Your browser opens the OpenSRE sign-up page; sign in with email or another enabled provider. Signing in activates the hosted model, so you need no LLM key. Back in the terminal, OpenSRE confirms the session with the web app and opens the shell.

Over SSH or on a server, OpenSRE prints a link to open in any browser and asks you to paste the code it shows; see Sign in over SSH or on a server.

Step 3: Pick what to do

The first shell prompt asks what OpenSRE should do first. Each option says what picking it does:

Get started
What should OpenSRE do first?

  (A) Keep my CI/CD healthy automatically (recommended)
      Fixes failing GitHub Actions checks on your pull requests
  (B) Analyze a repo's CI performance
      30-day report: failure rates and hours spent waiting on CI
  (C) Skip for now
      Type your own request. /demo brings this menu back

Choosing A asks how that should run:

Keep my CI/CD healthy automatically

  (A) Run continuously on this machine (recommended)
      Keeps watching your PRs and pushes fixes when checks fail
  (B) Run one repair in OpenSRE Cloud
      Fixes one failing PR from the cloud, then stops
  (C) Connect Slack
      Hand off CI and DevOps chores by mentioning OpenSRE in Slack

Choose B to see what OpenSRE does with a repository on your machine: it reads the last 30 days of GitHub Actions history and reports how reliable your CI is and how much developer time it costs. It needs GitHub access: connect it in the OpenSRE app through OAuth or its token-entry form. Run opensre account login to load that connection on this machine. If it is missing, the flow offers the app setup link. See CI/CD analytics demo.

Choose C to go straight to the prompt. The menu opens on your first launch only; later launches open the prompt directly. Type /demo to open the menu again at any time, or start with opensre --skip-onboarding to skip it on a first launch.

Step 4: Ask your first question

Describe what's going on in plain English:

why is checkout latency spiking?

Connect the tools OpenSRE should read when you need them, from the shell (/integrations setup github) or the terminal:

opensre integrations setup <service>

Full walkthrough: Quickstart.

Environment-specific guides

Platform Guide
macOS macOS
Linux Linux (local)
Windows Windows (local)
Docker Docker

Stuck?

  • Command not found — open a new terminal, or add the bin directory the installer printed to your PATH
  • The sign-in screen comes back after you signed in — run opensre account status; it names what is wrong with the session
  • Anything else — see Quickstart troubleshooting

Need deploy options beyond a laptop binary? See Deployment.

Markdown source: View on AtomGit·Content from the open-source project op/opensre