From 7a7fc2daeaf7d141f940f27dedeb7b9cb7acd01a Mon Sep 17 00:00:00 2001 From: Adam Erickson Date: Thu, 13 Nov 2025 10:23:18 -0800 Subject: [PATCH] added user-friendly installation instructions --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d038ec756..65d666e85 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,12 @@ documentation for the latest release is published on on learn.microsoft.com. ## Installation To install **PSScriptAnalyzer** from the PowerShell Gallery, see -[Installing PSScriptAnalyzer](https://learn.microsoft.com/powershell/utility-modules/psscriptanalyzer/overview#installing-psscriptanalyzer). +[Installing PSScriptAnalyzer](https://learn.microsoft.com/powershell/utility-modules/psscriptanalyzer/overview#installing-psscriptanalyzer) or simply open PowerShell in a Terminal and run: + +```powershell +Set-PSRepository -Name PSGallery -InstallationPolicy Trusted +Install-Module -Name PSScriptAnalyzer +``` To install **PSScriptAnalyzer** from source code: