Skip to content

dbroeglin/PowerShellGet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join the chat at https://gitter.im/PowerShell/PowerShellGet License Documentation - PowerShellGet PowerShell Gallery - PowerShellGet Minimum Supported PowerShell Version

Introduction

PowerShellGet is a PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.

PowerShellGet module is also integrated with the PackageManagement module as a provider, users can also use the PackageManagement cmdlets for discovering, installing and updating the PowerShell artifacts like Modules and Scripts.

Build status

Development branch

OS - PS Version Build Status
AppVeyor (Windows - PS 4.0) d-av-image
AppVeyor (Windows - PS 5.1) d-av-image
AppVeyor (Windows - PS 6.0.0-Alpha) d-av-image
Travis CI (Linux - PS 6.0.0-Alpha) d-tv-image
Travis CI (MacOS - PS 6.0.0-Alpha) d-tv-image

Master branch

OS - PS Version Build Status
AppVeyor (Windows - PS 4.0) m-av-image
AppVeyor (Windows - PS 5.1) m-av-image
AppVeyor (Windows - PS 6.0.0-Alpha) m-av-image
Travis CI (Linux - PS 6.0.0-Alpha) m-tv-image
Travis CI (MacOS - PS 6.0.0-Alpha) m-tv-image

Daily Build status

Development branch

OS - PS Version Build Status
AppVeyor (Windows - PS 4.0) d-n-av-image
AppVeyor (Windows - PS 5.1) d-n-av-image
AppVeyor (Windows - PS 6.0.0-Alpha) d-n-av-image
Travis CI (Linux - PS 6.0.0-Alpha) d-tv-image
Travis CI (MacOS - PS 6.0.0-Alpha) d-tv-image

Documentation

Click here

Requirements

  • Windows PowerShell 3.0 or newer.
  • PowerShell Core.

Module Dependencies

  • PackageManagement module

Get PowerShellGet Module

PowerShellGet is an in-box module in following releases

Get PowerShellGet module for PowerShell versions 3.0 and 4.0

Get the latest version from PowerShell Gallery

Before updating PowerShellGet, you should always install the latest Nuget provider. To do that, run the following in an elevated PowerShell session.

Install-PackageProvider Nuget –force –verbose
# exit the session

For systems with PowerShell 5.0 (or greater) you can install both PowerShellGet. To do this on Windows 10, Windows Server 2016, or any system with WMF 5.0 or 5.1 installed, run the following commands from an elevated PowerShell session.

Install-Module –Name PowerShellGet –Force
# exit the session

Use Update-Module to get the next updated versions.

Update-Module -Name PowerShellGet
# exit the session

Source

Steps

cd path/to/PowerShellGet
  • Import the module
Import-Module /path/to/PowerShellGet/PowerShellGet

Running Tests

Pester-based PowerShellGet Tests are located in <branch>/PowerShellGet/Tests folder.

  1. Ensure Pester is installed on the machine
  2. Go the Tests folder in your local repository
  3. Run the tests by calling Invoke-Pester.

Contributing to PowerShellGet

You are welcome to contribute to this project. There are many ways to contribute:

  1. Submit a bug report via Issues. For a guide to submitting good bug reports, please read Painless Bug Tracking.
  2. Verify fixes for bugs.
  3. Submit your fixes for a bug. Before submitting, please make sure you have:
  • Performed code reviews of your own
  • Updated the test cases if needed
  • Run the test cases to ensure no feature breaks or test breaks
  • Added the test cases for new code
  1. Submit a feature request.
  2. Help answer questions in the discussions list.
  3. Submit test cases.
  4. Tell others about the project.
  5. Tell the developers how much you appreciate the product!

You might also read these two blog posts about contributing code: Open Source Contribution Etiquette by Miguel de Icaza, and Don’t “Push” Your Pull Requests by Ilya Grigorik.

Before submitting a feature or substantial code contribution, please discuss it with the Windows PowerShell team via Issues, and ensure it follows the product roadmap. Note that all code submissions will be rigorously reviewed by the Windows PowerShell Team. Only those that meet a high bar for both quality and roadmap fit will be merged into the source.

About

PowerShellGet is the Package Manager for PowerShell

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%