Skip to content

Commit a5f41c2

Browse files
committed
download from PS Gallery
1 parent aa7ab87 commit a5f41c2

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff 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
2530
git clone https://github.com/iricigor/InstallModuleFromGit
2631
Import-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
3040
Install-GitModule https://github.com/iricigor/InstallModuleFromGit
3141
```
3242

0 commit comments

Comments
 (0)