microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.55k stars 1.4k forks source link

PowerShell Modules from PowerShellGet #687

Open Witchilich opened 4 years ago

Witchilich commented 4 years ago

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.

o-l-a-v commented 2 years ago

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. :)

denelon commented 2 years ago

When we start the deeper work on:

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.