In my last article about Windows Package Manager, I said that with winget I was missing "being able to specify some parameters for a package installation (like the workload and components to install for Visual Studio 2019)". Well that was before I went through a few GitHub issues of the winget-cli repository that mentioned the override option.
About the override option
winget install official documentation says the override option to the install command can be used to provide a "string that will be passed directly to the installer". What does that mean exactly?
When you install a program on your laptop, the installer GUI often prompts you to configure some parameters for the program. For instance Git installer let you choose how you want to handle CRLF. Each installer has its own parameters that you can specify on the command line if you run the installer exe in you terminal. When using winget cli, you can also specify these parameters by passing them as the value of the option
