Install gov in one command.
gov installs its own private Node and leaves the one you already have alone. No administrator rights, no package manager, nothing to uninstall but one directory.
curl -fsSL https://gov.svayamtech.com/install.sh -o install.sh && bash install.sh
Reads the plan to you and asks before it installs anything. Set GOV_YES=1 to skip the
prompt in a script. Prefer to read it first? View install.sh.
Fetch, then run: piped straight into bash, a failed download exits 0 and installs
nothing without saying so. In CI, where the exit status is checked,
curl -fsSL https://gov.svayamtech.com/install.sh | GOV_YES=1 bash also works.
irm https://gov.svayamtech.com/install.ps1 | iex
PowerShell 5.1 or later. View install.ps1. Installing an AI agent through gov does not work on Windows yet — #223 tracks it, and the rest of gov is unaffected.
What it does to this machine
- Installs a private Node under
~/.local/share/gov. - Links
govinto~/.local/bin, and says so. - Adds one marked line to your shell profile, so it can be found and removed.
- Installs git or
ghonly if they are missing — and asks first.
What it needs from you
- A GitHub account with access to your organization.
- A sign-in only a person can do — gov never stores a credential for you.
- Nothing else. Re-running is boring by design: it resumes, it does not repeat.