PowerShellGetv2 icon indicating copy to clipboard operation
PowerShellGetv2 copied to clipboard

PSGet needs to support selectively installing modules that support multiple platform runtimes

Open SteveL-MSFT opened this issue 6 years ago • 8 comments

As more module authors are trying to support cross-platform and cross-PowerShell (Windows PowerShell versions and PSCore6), PSGet should adopt same packaging as nupkg for multiple runtimes. Conceptually, the module author would layout their module like:

  • MyModule
    • Runtimes
      • osx-x64
      • win-x64
      • win-x86
      • linux-x64
      • linux-arm32

When user does install-module, it should only install the bits for the runtime that matches the system. save-module should probably save all the runtimes. Similar structure for differentiating PowerShell versions.

SteveL-MSFT avatar May 10 '18 03:05 SteveL-MSFT