GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iricigor/InstallModuleFromGit: Helps installing modules directly from GitHub or Azure DevOps

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
Docs
Docs
 
 
Private
Private
 
 
Public
Public
 
 
Tests
Tests
 
 
cab
cab
 
 
img
img
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
.publishignore
.publishignore
 
 
ChangeLog.md
ChangeLog.md
 
 
InstallModuleFromGit.psd1
InstallModuleFromGit.psd1
 
 
InstallModuleFromGit.psm1
InstallModuleFromGit.psm1
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

github/release last-release-date commits-since-latest last-commit

Install Module from Git

:bowtie: This PowerShell module will help you to easily instal PowerShell modules directly from Azure DevOps (aka VSTS) or GitHub or any other git repository. All you need to know is a URL of the git repository and the module will take care of everything else.

The module is compatible both with Linux and Windows versions of PowerShell (Windows PowerShell 5 or PowerShell Core 6).

Prerequisites

❗ Git client must be installed and available on path. If you don't have it, you can get it for example from git-scm.com. You can check if you have it by running Get-Command git in your PowerShell.

Installation

From PowerShell gallery

This is recommended way how to install module. downloads

Install-Module InstallModuleFromGit -Scope CurrentUser

Clone GitHub repository

git clone https://github.com/iricigor/InstallModuleFromGit
Import-Module ./InstallModuleFromGit/InstallModuleFromGit.psd1

Using this module

If you have this module already installed, you can install latest / not-yet-published version from this GitHUb repository using the module itself! As all commits are verified before and after they are merged to master branch, this should be pretty safe operation also.

Install-GitModule https://github.com/iricigor/InstallModuleFromGit

Examples

# Check for module existence and its version
PS:\> Get-GitModule 'https://github.com/iricigor/FIFA2018' -Verbose

# Download and import module in one line
PS:\> (Install-GitModule 'https://github.com/iricigor/psaptgetupdate').Name | Import-Module

Commands

Module

The module Install Module From Git exposes two new commandlets. More info on module here.

Get-GitModule

Checks for module existence and returns its version. More info here.

Install-GitModule

Installs PowerShell module to user's default install folder. More info here.

Update-GitModule

Updates previously installed PowerShell module if Git repository contains newer version. More info here.

Commands Help System

Module provides updatable help system, though it is working currently only on Windows PowerShell. Tracking issue is here.

Update-Help -Module InstallModuleFromGit -Force

Tests

😏 Module has testing against two platforms - Linux and Windows. Code is verified before and after merging to master branch. Tests results are available on the Tests tab (example here).

supported-OS test-details test-details

Click on images to see details about the latest build runs.

Similar PowerShell modules

  • 📣 dfinke/InstallModuleFromGitHub, (pluses) does not require git client, (minuses) works only with GitHub

Support

You can chat about this commandlet via Skype (no Skype ID required), by clicking a link below.

chat on Skype

Contributing

If you find any problems, feel free to open a new issue.

open a new issue GitHub open issues GitHub closed issues

If you want to contribute, please fork the code and make a new PR after!

GitHub GitHub top language repo-stars repo-watchers

About

Helps installing modules directly from GitHub or Azure DevOps

Topics

adoazuredevopsgitgit-clientgit-clonegithubinstall-modulepowershellpowershell-corepowershell-modulepowershellgetvstswindows-powershell

Resources

Readme
MIT license
Activity

Stars

19 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.