Search code examples
winget

Can the new winget preview to install or update PSModules (non-Microsoft PS-Modules like from gallery)?


In the near future I'm going to pitch to my team to use winget to manage "dotnet-SDK" versions, python versions, powershell, VSCode, and a bunch of open source tools (some running in WSL2).

As part of that can I consolidate winget and powershell Install-Module in powershell 7+? I see they're adding WinGet powershell modules. Are there or any plans to manage professional pwsh modules with winget?

examples of pwsh modules I'd like other developers on my team to install:


Solution

  • Can you just use Install-Module until Powershell-DSC is ready? With -Force to install newer version if older version is present?