Win sudo plug-in solves the problem of GIT bash execution script error bash: sudo: command not found

Windows git bash has no sudo command by default. You can add win sudo plug-in to realize this function

curl -s https://raw.githubusercontent.com/imachug/win-sudo/master/install.sh | sh

If the above command doesn’t work, you can copy it https://raw.githubusercontent.com/imachug/win-sudo/master/install.sh Then bash install. SH is executed

Similar Posts: