{"id":18237527,"url":"https://github.com/coalaura/sudo","last_synced_at":"2026-05-02T03:31:17.099Z","repository":{"id":260650955,"uuid":"881956624","full_name":"coalaura/sudo","owner":"coalaura","description":"sudo for windows","archived":false,"fork":false,"pushed_at":"2025-07-09T23:19:19.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T09:19:59.422Z","etag":null,"topics":["elevate","sudo","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coalaura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-01T15:16:01.000Z","updated_at":"2025-07-09T23:15:36.000Z","dependencies_parsed_at":"2024-11-01T16:25:11.364Z","dependency_job_id":"834e12f4-5b91-42a3-8a80-f04b76557d42","html_url":"https://github.com/coalaura/sudo","commit_stats":null,"previous_names":["coalaura/sudo"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/coalaura/sudo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coalaura%2Fsudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coalaura%2Fsudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coalaura%2Fsudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coalaura%2Fsudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coalaura","download_url":"https://codeload.github.com/coalaura/sudo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coalaura%2Fsudo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elevate","sudo","windows"],"created_at":"2024-11-05T02:06:20.982Z","updated_at":"2026-05-02T03:31:17.081Z","avatar_url":"https://github.com/coalaura.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sudo \u003csup\u003e\u003ckbd\u003eFor Windows\u003c/kbd\u003e\u003c/sup\u003e\n\nEver wanted to `sudo` on Windows? Now you can! This tool, simply called sudo, brings the familiar `sudo` functionality to Windows, allowing you to run any command with elevated privileges—no more fiddling with right-click menus or navigating through the UAC dialog manually. Just type `sudo \u003ccommand\u003e` in your terminal, and it takes care of the rest.\n\n## Features\n\n- **Runs Commands as Admin:** Just like `sudo` on Linux, this tool checks if the current terminal session is elevated. If not, it prompts for admin privileges and runs your command in the specified directory.\n- **Session Persistence:** Already elevated? `sudo` detects it and skips the re-elevation step, running your command directly.\n- **Seamless Directory Management:** `sudo` ensures your commands execute in the current working directory, whether you’re elevated or not.\n- **`su` Mode:** For those who just want an admin shell, running `sudo su` gives you an elevated terminal window without extra commands.\n\n## Usage\n\nTo run a command in an elevated context (*automatically appends `\u0026\u0026 pause \u0026\u0026 exit`*):\n```bash\nsudo \u003ccommand\u003e [arguments...]\n```\n\nYou can also chain commands with `;`:\n```bash\n# Runs `echo \"hello\" \u0026\u0026 echo \"world\"` in elevated context\nsudo echo \"hello\"; echo \"world\"\n```\n\nOr to just get an admin shell:\n```bash\nsudo su\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoalaura%2Fsudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoalaura%2Fsudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoalaura%2Fsudo/lists"}