Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/anypackage/scoop
- Owner: anypackage
- License: mit
- Created: 2023-02-01T01:47:00.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T01:02:51.000Z (over 1 year ago)
- Last Synced: 2024-05-11T04:35:23.922Z (6 months ago)
- Topics: anypackage, oneget, package-management, package-manager, powershell, scoop, windows
- Language: PowerShell
- Homepage: https://anypackage.dev/docs/provider-catalog/scoop/about_Scoop_Provider
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - anypackage/scoop - Scoop provider for AnyPackage. (PowerShell)
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 7zipFind-Package -Name 7zip*
```### Install a package
```PowerShell
Find-Package 7zip | Install-PackageInstall-Package -Name 7zip
```### Get list of installed packages
```PowerShell
Get-Package -Name 7zip
```### Uninstall a package
```PowerShell
Get-Package -Name 7zip | Uninstall-PackageUninstall-Package -Name 7zip
```### Update a package
```PowerShell
Get-Package -Name 7zip | Update-PackageUninstall-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.