winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

PowerShell Modules from PowerShellGet

Open Witchilich opened this issue 5 years ago • 2 comments

Description of the new feature/enhancement

Windows Store apps seems to be in the roadmap, but PowerShell Modules from PowerShellGet should be too.

Proposed technical implementation details (optional)

For winget to be the one package manager for all our packages it also needs to include PowerShell modules.

Witchilich avatar May 25 '20 18:05 Witchilich

This would be awesome. Theres no neat way to keep PowerShell modules updated, which also fixes removing old versions of modules. I've scripted my way around it, but it's sloooow.

If winget just could use powershellgallery.com as a manifest, then install and update modules, also with option of user context (not require admin) and system context. That would be awesome.

We're considering adding PowerShell modules for making logic for keeping apps up to date, using modules like Evergreen and Nevergreen together with Winget. If I didn't have to script a proactive remediation or win32 package for installing and keeping PowerShell modules up to date, that would be great. :)

o-l-a-v avatar Nov 12 '21 10:11 o-l-a-v

When we start the deeper work on:

  • #221

We should consider a mechanism to detect if a newer version of the PowerShell module is available to make it easier to upgrade, and possibly a setting to automatically pull the latest module down when that case is true.

denelon avatar Feb 18 '22 17:02 denelon