Skip to main content

How to Install gsudo

If you use any of the following Package Managers:

  • Using WinGet: Run winget install gerardog.gsudo
  • Using Chocolatey: Run choco install gsudo
  • Using Scoop: Run scoop install gsudo

Or:

  • Download and run the MSI file from the latest release.
  • Or use the following script to achieve the same:
    PowerShell -Command "Set-ExecutionPolicy RemoteSigned -scope Process; [Net.ServicePointManager]::SecurityProtocol = 'Tls12'; iwr -useb https://raw.githubusercontent.com/gerardog/gsudo/master/installgsudo.ps1 | iex"
  • Manually: Download the ZIP file from the latest release. Uncompress and add to PATH.

caution

Please restart your consoles after installing, to refresh the PATH environment variable.

info

gsudo is just a portable console app. No Windows service is required or system change is done, except adding gsudo to the PATH.

Configure your Shell

On the following shells you get a better experience if you follow some manual configuration: