Skip to content

anypackage/anypackage

Repository files navigation

AnyPackage

gallery-image nuget-image build-image cf-image

AnyPackage is a cross-platform PowerShell unified package management interface. Manage multiple package managers from a single set of commands.

This project is a spiritual successor to PackageManagement also known as OneGet. AnyPackage is not a fork of PackageManagement as such does not support any PackageManagement providers.

For more information on what AnyPackage is and how to use it refer to about_AnyPackage.

Features

  • PowerShell 5.1+
  • Cross-platform Windows, MacOS, Linux
  • Simple PowerShell cmdlets
  • Manage package lifecycle
  • Manage package sources
  • PowerShell or C# package providers
  • Simple and concise package provider authoring experience
  • Package provider dynamic parameters
  • Updatable help
  • Argument completers
  • DSC resources

Install AnyPackage

# PowerShellGet
Install-Module AnyPackage

# PSResourceGet
Install-PSResource AnyPackage

Package Providers

AnyPackage uses a provider model. Each package manager creates a package provider which implements the AnyPackage interface. Package providers are shipped in a PowerShell module. For more information on how to use a provider refer to about_Package_Providers.

Provider Catalog

To view the available package providers go to the Provider Catalog.

Creating a Provider

To learn how to create a package provider refer to about_Creating_Package_Providers.

Documentation

Documentation is located on the anypackage.dev website. The source is located in the docs repository.