# gerardog/gsudo

Sudo for Windows

Repository: https://github.com/gerardog/gsudo
Canonical: https://ross.abutalabs.com/products/gsudo
Homepage: https://gerardog.github.io/gsudo
Language: C#
License: MIT
License Family: permissive
Topics: elevated-commands, elevated-permissions, uac, sudo, windows, runas, elevate, sudo-for-windows, powershell, wsl, command-line, terminal
Last push: 2026-08-12T04:39:51+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 19, longevity 100
- inputs: {"age_days": 2491, "days_push": 21, "days_rel": 331, "gap_med": 220, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6034, forks 165 (observed 2026-08-28T04:09:34.494239+00:00)

## What it is
gsudo is a sudo equivalent for Windows that lets users run commands or relaunch shells with elevated permissions from the current console. It supports many shells including CMD, PowerShell, WSL, and Git-Bash, and offers an optional credentials cache to reduce UAC popups.

## Use cases
- run a command as administrator on windows
- elevate a single powershell command without opening a new window
- reduce uac popups when running admin commands
- use sudo syntax in cmd or git-bash on windows
- elevate commands from wsl

## When to choose
- you need fine-grained command elevation on Windows instead of running everything as admin
- you want a Linux-like sudo experience in CMD, PowerShell, or WSL
- you want to avoid elevation fatigue and only elevate specific commands

## When to avoid
- you are on Linux or macOS where native sudo exists
- you need to elevate GUI applications rather than console commands
- your security policy forbids credential caching or UAC bypass tooling

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, security, developer-tools
- domain: developer-tools, windows, security
- platform: windows, cli
- tags: sudo, uac, elevation, powershell, wsl, credentials-cache, command-line

## Member repositories
- gerardog/gsudo (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.494239+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:49:08.111929+00:00, confidence not recorded.
  - readme: https://github.com/gerardog/gsudo (fetched 2026-08-28T04:09:34.494239+00:00, sha 41014bc1811d)
  - homepage: https://gerardog.github.io/gsudo (fetched 2026-08-29T08:45:17.996266+00:00, sha 3d296f9187ee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
