Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anypackage/scoop

Scoop provider for AnyPackage.
https://github.com/anypackage/scoop

anypackage oneget package-management package-manager powershell scoop windows

Last synced: 3 months ago
JSON representation

Scoop provider for AnyPackage.

Awesome Lists containing this project

README

        

# AnyPackage.Scoop

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

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

`AnyPackage.Scoop` is an AnyPackage provider that facilitates installing Scoop apps from any Scoop bucket.

## Install AnyPackage.Scoop

```PowerShell
Install-PSResource AnyPackage.Scoop
```

## Import AnyPackage.Scoop

```PowerShell
Import-Module AnyPackage.Scoop
```

## Sample usages

### Search for a package

```PowerShell
Find-Package -Name 7zip

Find-Package -Name 7zip*
```

### Install a package

```PowerShell
Find-Package 7zip | Install-Package

Install-Package -Name 7zip
```

### Get list of installed packages

```PowerShell
Get-Package -Name 7zip
```

### Uninstall a package

```PowerShell
Get-Package -Name 7zip | Uninstall-Package

Uninstall-Package -Name 7zip
```

### Update a package

```PowerShell
Get-Package -Name 7zip | Update-Package

Uninstall-Package
```

### Manage official package sources

```PowerShell
Register-PackageSource -Provider Scoop -Official versions
Find-Package -Name cuda10 | Install-Package
Unregister-PackageSource -Name versions
```

### Manage unofficial package sources

```PowerShell
Register-PackageSource -Name TheRandomLabs_scoop-nonportable -Location https://github.com/TheRandomLabs/scoop-nonportable
Find-Package -Name 8gadgetpack-np | Install-Package
Unregister-PackageSource -Name TheRandomLabs_scoop-nonportable
```

## Known Issues

### Finding/Installing different package versions

Scoop does not maintain multiple versions for a single package name.
You can pass the version you wish to install but it does a find/replace on the version in the app manifest.
Then Scoop will try to use that to install the app but only at install time.
As such AnyPackage.Scoop does not allow for this arbitrary method.
To install versions than the latest use the versions official package source.