Skip to content

Commit 7408fe2

Browse files
paubybergmeister
authored andcommitted
Added Chocolatey Install help (#999)
* Added Chocolatey Install help * Fixed typo * Added clarification on community package support
1 parent a035491 commit 7408fe2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,19 @@ Exit
8787

8888
```docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'"```
8989

90+
### From Chocolatey
91+
92+
If you prefer to manage PSScriptAnalyzer as a Windows package, you can use [Chocolatey](https://chocolatey.org) to install it.
93+
94+
If you don't have Chocolatey, you can install it from the [Chocolately Install page](https://chocolatey.org/install).
95+
With Chocolatey installed, execute the following command to install PSScriptAnalyzer:
96+
97+
```powershell
98+
choco install psscriptanalyzer
99+
```
100+
101+
Note: the PSScriptAnalyzer Chocolatey package is provided and supported by the community.
102+
90103
### From Source
91104

92105
#### Requirements

0 commit comments

Comments
 (0)