Skip to content

jotaylo/PowerShellGet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join the chat at https://gitter.im/PowerShell/PowerShellGet

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

AppVeyor (Windows - PS & PSCore) Travis CI (Linux / macOS)
d-av-image d-tv-image

master branch

AppVeyor (Windows - PS & PSCore) Travis CI (Linux / macOS)
m-av-image m-tv-image

Documentation

Click here

Requirements

  • Windows PowerShell 3.0 or newer.
  • PowerShell Core.

Module Dependencies

  • PackageManagement module

Get PowerShellGet Module

Windows 10 or newer

Windows Server 2016 or newer

Windows Management Framework (WMF) 5.0 or newer

Get the latest version from PowerShell Gallery

# On PowerShell 5.0 or newer, use the Install-Module with -Force to install the PowerShellGet module from the PowerShellGallery.
Install-Module -Name PowerShellGet -Force

# Use Update-Module cmdlet to get the updated version
Update-Module -Name PowerShellGet

Source

Steps

  • Obtain the source
    git clone https://github.com/PowerShell/PowerShellGet
  • Navigate to the source directory
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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%