From eb6788844839558082bd7ebff4ea4e9cfbdb6bf6 Mon Sep 17 00:00:00 2001 From: Gerardo Grignoli Date: Thu, 10 Aug 2023 10:09:41 -0300 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d34497d5..235e39db 100644 --- a/README.md +++ b/README.md @@ -57,17 +57,18 @@ It detects your current shell and elevates your command as native shell commands ## Installation -Note: `gsudo` is portable. No windows service is required or system change is done, except adding it to the Path. - - Using [Scoop](https://scoop.sh): `scoop install gsudo` -- Using [WinGet](https://github.com/microsoft/winget-cli/releases) `winget install gerardog.gsudo` +- Using [WinGet](https://github.com/microsoft/winget-cli/releases): `winget install gerardog.gsudo` - Using [Chocolatey](https://chocolatey.org/install): `choco install gsudo` -- Or manually: Unzip the latest release, and add to the path. +- Manually: Unzip the latest release, and add to the path. - Or running: - -``` PowerShell -PowerShell -Command "Set-ExecutionPolicy RemoteSigned -scope Process; [Net.ServicePointManager]::SecurityProtocol = 'Tls12'; iwr -useb https://raw.githubusercontent.com/gerardog/gsudo/master/installgsudo.ps1 | iex" -``` + ``` PowerShell + PowerShell -Command "Set-ExecutionPolicy RemoteSigned -scope Process; [Net.ServicePointManager]::SecurityProtocol = 'Tls12'; iwr -useb https://raw.githubusercontent.com/gerardog/gsudo/master/installgsudo.ps1 | iex" + ``` + +**Please restart all your console windows** after installing to ensure that the `PATH` environment variable is refreshed. + +Note: `gsudo.exe` is portable. No windows service is required or system change is done, except adding it to the Path. ## Usage