diff --git a/README.md b/README.md index 289036619..19feea818 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,19 @@ Exit ```docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` +### From Chocolatey + +If you prefer to manage PSScriptAnalyzer as a Windows package, you can use [Chocolatey](https://chocolatey.org) to install it. + +If you don't have Chocolatey, you can install it from the [Chocolately Install page](https://chocolatey.org/install). +With Chocolatey installed, execute the following command to install PSScriptAnalyzer: + +```powershell +choco install psscriptanalyzer +``` + +Note: the PSScriptAnalyzer Chocolatey package is provided and supported by the community. + ### From Source #### Requirements