microsoft / microsoft/winget-cli

How to get started on Nano Server

Open
#3,189 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Docs
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

I recently wanted to try out bootstrapping a Nano Server instance with Microsoft.WinGet.Client, but it fails to install. After curl-ing PS7, when installing the winget PS wrapper I get:

PS C:\Users\ContainerUser> Install-Module -Name Microsoft.WinGet.Client -AllowPrerelease -Scope CurrentUser
A
Install-Package: The module 'Microsoft.WinGet.Client' cannot be installed or updated because the
authenticode signature of the file 'Microsoft.WinGet.Client.psd1' is not valid.

Even if this were to pass, I may actually have the client be missing (IIUC the PS module just wraps the exe using Crescendo), but there are only msixbundle releases which AFAIK can't be installed on Nano Server.

Is there a way to make use of Winget on Nano Server or must people keep resorting to ZIP packages?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking how Microsoft.WinGet.Client is installed on Nano Server and whether the msixbundle releases can be used there. Compare the reported Authenticode failure with the ZIP packages mentioned in the issue; done means documenting a supported way to use WinGet on Nano Server or confirming that ZIP packages remain required.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.