FG
💻 Software

There's no 'sudo' command in Cygwin

Fresh5 days ago
Mar 15, 202670554 views
Confidence Score0%
0%

Problem

Because there's no sudo command in Cygwin, scripts that I want to run fail with What's the standard way for getting around this? Editing the scripts to remove ? Getting some -like tool for Windows?

Error Output

./install.sh: line N: sudo: command not found

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: There's no 'sudo' command in Cygwin

Low Risk

One way is to create a fake "sudo" command with the following content: This will allow the to continue, because sudo is found. This doesn't elevate privileges like real sudo does. If you really need elevated privileges start cygwin shell with from a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment