Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anypackage/anypackage

PowerShell unified package management interface.
https://github.com/anypackage/anypackage

linux macos oneget package-management package-manager powershell windows

Last synced: about 2 months ago
JSON representation

PowerShell unified package management interface.

Awesome Lists containing this project

README

        

# AnyPackage

[![gallery-image]][gallery-site]
[![nuget-image]][nuget-site]
[![build-image]][build-site]
[![cf-image]][cf-site]

[gallery-image]: https://img.shields.io/powershellgallery/dt/AnyPackage?logo=powershell
[nuget-image]: https://img.shields.io/nuget/dt/AnyPackage?logo=nuget
[build-image]: https://img.shields.io/github/actions/workflow/status/anypackage/anypackage/ci.yml
[cf-image]: https://img.shields.io/codefactor/grade/github/anypackage/anypackage
[gallery-site]: https://www.powershellgallery.com/packages/AnyPackage
[nuget-site]: https://www.nuget.org/packages/AnyPackage
[build-site]: https://github.com/anypackage/anypackage/actions/workflows/ci.yml
[cf-site]: https://www.codefactor.io/repository/github/anypackage/anypackage

`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].

[about_AnyPackage]: https://anypackage.dev/docs/reference/about_AnyPackage

![AnyPackage Demo][demo]

[demo]: https://vhs.charm.sh/vhs-7ynK3WrPLUD0xpOjdJcxsG.gif

## 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
- Command not found PowerShell feedback and command predictor
- Updatable help
- Argument completers
- DSC resources

## Install AnyPackage

```powershell
# 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].

[about_Package_Providers]: https://anypackage.dev/docs/reference/about_Package_Providers

### Provider Catalog

To view the available package providers go to the [Provider Catalog][catalog].

[catalog]: https://anypackage.dev/docs/provider-catalog

### Creating a Provider

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

[about_Creating_Package_Providers]: https://anypackage.dev/docs/reference/about_Creating_Package_Providers

## Documentation

Documentation is located on the [website]. The source is located in the [docs]
repository.

[website]: https://anypackage.dev
[docs]: https://github.com/anypackage/docs

## Privacy Policy

This program will not transfer any information to other networked systems unless
specifically requested by the user or the person installing or operating it.

## Code Signing Policy

Free code signing provided by [SignPath.io], certificate by
[SignPath Foundation].

[SignPath.io]: https://signpath.io
[SignPath Foundation]: https://signpath.org