2,187
edits
(Initial creation) |
(Updated for Modules) |
||
Line 1: | Line 1: | ||
=- NuGet PowerShell Repository == | |||
In order to be able to install PowerShell modules from NuGet (https://www.nuget.org) for use within PowerShell you need to install the PS module source repository... | |||
<source lang="powershell"> | |||
# Must be completed from an elevated administrator session | |||
Register-PSRepository -Name NuGet -SourceLocation https://www.nuget.org/api/v2/ | |||
</source> | |||
Packages can then be installed in the normal way, eg | |||
<source lang="powershell"> | |||
Install-Module NReco.PdfGenerator | |||
</source> | |||
== NuGet Package Repository == | == NuGet Package Repository == | ||
In order to be able to install packages from NuGet (https://www.nuget.org) for use within PowerShell you need to install the package source repository... | In order to be able to install packages from NuGet (https://www.nuget.org) for use within PowerShell you need to install the package source repository... |