File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,18 +15,28 @@ You can check if you have it by running `Get-Command git` in your PowerShell.
1515
1616## Installation
1717
18- ### from PowerShell gallery
18+ ### From PowerShell gallery
1919
20- : dash : _ (not yet available) _
20+ This is recommended way how to install module.
2121
22- ### clone GitHub repository
22+ ``` PowerShell
23+ Install-Module InstallModuleFromGit -Scope CurrentUser
24+ ```
25+ [ ![ downloads] ( https://img.shields.io/powershellgallery/dt/InstallModuleFromGit.svg?label=downloads )] ( https://www.powershellgallery.com/packages/InstallModuleFromGit )
26+
27+ ### Clone GitHub repository
2328
2429``` PowerShell
2530git clone https://github.com/iricigor/InstallModuleFromGit
2631Import-Module ./InstallModuleFromGit/InstallModuleFromGit.psd1
27- # and this is the last time you will be doing it like this
32+ ```
2833
29- # after you install this module you can do it like this
34+ ### If you already installed this module once
35+
36+ If you have this module already installed, you can install latest / not-yet-published version from this GitHUb repository using the module itself!
37+ As all commits are verified before and after they are merged to master branch, this should be pretty safe operation also.
38+
39+ ``` PowerShell
3040Install-GitModule https://github.com/iricigor/InstallModuleFromGit
3141```
3242
You can’t perform that action at this time.
0 commit comments