How to Install gsudo
- On Windows 10/11
- Windows 8.1
- Windows 7 SP1
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
MSIfile 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
ZIPfile from the latest release. Uncompress and add toPATH.
- Download
gsudo.Setup.[platform].msifrom the latest release, and run.
- Enable TLS 1.2 using Microsoft "Easy Fix"
- Download
gsudo.Setup.[platform].msifrom the latest release, and run. - You probably want to update PowerShell up to 5.1
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: