Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 2.27 KB

README.md

File metadata and controls

92 lines (63 loc) · 2.27 KB

AnyPackage.Scoop

gallery-image build-image cf-image

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

Install AnyPackage.Scoop

Install-PSResource AnyPackage.Scoop

Import AnyPackage.Scoop

Import-Module AnyPackage.Scoop

Sample usages

Search for a package

Find-Package -Name 7zip

Find-Package -Name 7zip*

Install a package

Find-Package 7zip | Install-Package

Install-Package -Name 7zip

Get list of installed packages

Get-Package -Name 7zip

Uninstall a package

Get-Package -Name 7zip | Uninstall-Package

Uninstall-Package -Name 7zip

Update a package

Get-Package -Name 7zip | Update-Package

Uninstall-Package

Manage official package sources

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

Manage unofficial package sources

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.