Skip to content

Commit b906673

Browse files
authored
Update PowerShell Module Dependency Docs (#2797)
1 parent 297c9f1 commit b906673

File tree

1 file changed

+9
-1
lines changed
  • src/PowerShell/Microsoft.WinGet.Client

1 file changed

+9
-1
lines changed

src/PowerShell/Microsoft.WinGet.Client/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ This project contains the source code for building the Windows Package Manager P
66

77
After building the project solution, the `Microsoft.WinGet.Client` PowerShell module can be found in the output directory in the `PowerShell` folder. For example if you built the project as x64 release, you should expect to find the module files in `$(SolutionDirectory)/src/x64/Release/PowerShell`.
88

9+
## Prerequisites
10+
11+
The PowerShell module has a dependency on the latest [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/cpp/windows/latest-supported-vc-redist?view=msvc-170) package which can be downloaded or installed through the Windows Package Manager (WinGet) by running the following command:
12+
13+
```
14+
winget install --id Microsoft.VCRedist.2015+.x64
15+
```
16+
917
## Quick Start Guide
1018

1119
**To run the module, make sure you are using the latest version of PowerShell (not Windows PowerShell)**.
@@ -17,7 +25,7 @@ winget install --id Microsoft.Powershell
1725
Import the module manifest (Microsoft.WinGet.Client.psd1) by running the following command:
1826

1927
```
20-
Import-Module <Path to Microsoft.WinGet.Client.psd1">
28+
Import-Module <Path to Microsoft.WinGet.Client.psd1>
2129
```
2230

2331
The following cmdlets and functions are available for you to try:

0 commit comments

Comments
 (0)