en-US/about_LibGit2_Installation.help.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TOPIC
    about_LibGit2_Installation
    
SHORT DESCRIPTION
    LibGit2 can be installed from the PowerShell gallery, with Chocolatey, and NuGet.
    
INSTALL FROM POWERSHELL GALLERY
    To install from the PowerShell Gallery, you must be running PowerShell 5 or 
    PowerShell 4 with the PowerShellGet module installed. If so, run:     
        PS> Install-Module -Name 'LibGit2'
    
    You can now import LibGit2 by running:
    
        PS> Import-Module 'LibGit2'
  
INSTALL WITH CHOCOLATEY
    To install with Chocolatey, you'll need [Chocolatey installed](http://chocolatey.org). With Chocolatey installed, run: PS> choco install LibGit2.PowerShell This will install LibGit2 into one of PowerShell's module paths. You can now import
    LibGit2 by running:
    
        PS> Import-Module 'LibGit2'  

INSTALL WITH NUGET
    To install with NuGet, you'll need [NuGet installed](http://nuget.org). With NuGet installed, run: PS> nuget install LibGit2.PowerShell This will create a `LibGit2.X.Y.Z` directory in your current directory (or the output directory you specified with Nuget's `OutputDirectory` parameter). You can
    import LibGit2 from that directory using the `Import-LibGit2.ps1 script:
    
        PS> .\LibGit2.X.Y.Z\LibGit2\Import-LibGit2.ps1
     
    Or with PowerShell's `Import-Module` command: PS> Import-Module '.\LibGit2.X.Y.Z\LibGit2' If you want LibGit2 available so you can run `Import-Module LibGit2`, copy the `LibGit2.X.Y.Z\LibGit2` directory into one of PowerShell's module paths. This 
    command will give you a list:
    
        PS> $env:PSModulePath -split ';'

SEE ALSO
    http://chocolatey.org/packages/LibGit2.PowerShell
    http://www.nuget.org/packages/LibGit2.PowerShell
    https://www.powershellgallery.com/packages/LibGit2