# Use sudo in Windows


This is not the same `sudo` you use in \*nix systems. It just shares the name.

It is quite tiresome to launch a new instance of the running program with admin privilege.

<!--more-->

## Install
```powershell
scoop install gsudo
```

Other installation methods are in the repo: [https://github.com/gerardog/gsudo](https://github.com/gerardog/gsudo)

## Usage
Prepend `sudo` to the command that requires admin provolege. It will launch UAC.

{{% center %}}
{{% figure src="/img/gsudo.png" title="It feels surreal" alt="Screenshot of sudo in action. It cannot geenrate ssh keys as a normal user but prepending sudo gets the job done." %}}
{{% /center %}}

