From a6d1c0140fd16aac6e1c4faacd6a8f035a3daec6 Mon Sep 17 00:00:00 2001 From: Paul Broadwith Date: Mon, 14 May 2018 13:53:04 +0100 Subject: [PATCH 1/3] Added Chocolatey Install help --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 289036619..4f5fe076a 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,17 @@ Exit ```docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"``` +### From Chocolatey + +If you prefer to manage PSScritpAnalyzer 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 +``` + ### From Source #### Requirements From 62fb12af528bbc2eaf066cf86c3a8c01ad560edb Mon Sep 17 00:00:00 2001 From: Paul Broadwith Date: Mon, 14 May 2018 15:28:23 +0100 Subject: [PATCH 2/3] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f5fe076a..c26f668ae 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Exit ### From Chocolatey -If you prefer to manage PSScritpAnalyzer as a Windows package, you can use [Chocolatey](https://chocolatey.org) to install it. +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: From 09b5286ade8b977b1d34975a95ff7fc9ca6a71e3 Mon Sep 17 00:00:00 2001 From: Paul Broadwith Date: Mon, 14 May 2018 20:50:43 +0100 Subject: [PATCH 3/3] Added clarification on community package support --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c26f668ae..19feea818 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,8 @@ With Chocolatey installed, execute the following command to install PSScriptAnal choco install psscriptanalyzer ``` +Note: the PSScriptAnalyzer Chocolatey package is provided and supported by the community. + ### From Source #### Requirements