-
How can i exclude the discord package from the upgrade command so that it is not shown in the output of the command? Is the package pinned? |
Beta Was this translation helpful? Give feedback.
Answered by
Trenly
Oct 2, 2023
Replies: 1 comment
-
You can use What you are experiencing is that some packages, like Discord, have a flag set that when there is no pin, they appear in that separate section because upgrading them doesn't always work properly and so they are automatically excluded when using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
floh96
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
winget pin add <id>
to pin a packageWhat you are experiencing is that some packages, like Discord, have a flag set that when there is no pin, they appear in that separate section because upgrading them doesn't always work properly and so they are automatically excluded when using
--all
but can still be upgraded usingwinget upgrade <id>