Skip to content

Add —-source winget to winget commands to prevent winget installing yt-dlp from the Microsoft Store #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gamer191
Copy link

@gamer191 gamer191 commented May 31, 2025

By default winget will search both the Microsoft Store and the Winget manifests. Whilst the winget manifest repo is moderated (importantly, manifests presumably have to use the official binaries), I highly doubt that the Microsoft Store has the same level of moderation (for a start, it uses binaries instead of manifests). Whilst I’m not aware of any packages named yt-dlp in the Microsoft Store, it’s best to avoid that risk all together

EDIT: I’m not sure which order it prioritises sources in, so it’s possible that it prioritises the winget manifests. Either way it's best to manually specify it

@@ -196,12 +196,12 @@ choco upgrade yt-dlp
### [winget](https://docs.microsoft.com/en-us/windows/package-manager/winget/)

```powershell
winget install yt-dlp
winget install yt-dlp --source winget
Copy link
Member

@bashonly bashonly May 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
winget install yt-dlp --source winget
winget install --id yt-dlp.yt-dlp -e --source winget

```

To update, run:
```powershell
winget upgrade yt-dlp
winget upgrade yt-dlp --source winget
Copy link
Member

@bashonly bashonly May 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
winget upgrade yt-dlp --source winget
winget upgrade --id yt-dlp.yt-dlp -e --source winget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants