File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 87
87
88
88
``` docker run -it microsoft/powershell:latest pwsh -c "Install-Module PSScriptAnalyzer -Force; Invoke-ScriptAnalyzer -ScriptDefinition 'gci'" ```
89
89
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
+
90
103
### From Source
91
104
92
105
#### Requirements
You can’t perform that action at this time.
0 commit comments