How to change winget settings on Windows 11

Here are the steps to customize the winget experience on Windows 11.

WinGet edit settings.json

On Windows 11, the Windows Package Manager (winget) provides an alternative experience to make it easier to search, download, and install apps using commands.

Although the tool offers the optimal settings out-of-the-box, you can also edit the “settings.json” file to customize the experience even further. For example, you can change the visual elements of the progress bar, disable telemetry when using the tool, change the install behavior, enable experimental features, and more.

This guide will teach you the steps to edit the settings.json file to customize the winget command on Windows 11 (or Windows 10).

Configure winget settings.json on Windows 11

To change the settings of the winget command, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to open the winget settings.json file and press Enter:

    winget settings
  4. Copy and paste the following code within the brackets to change the progress bar to the rainbow design:

    "visual": { "progressBar": "accent" },
    Quick note: Options available include accent (default), retro, and rainbow.
  5. Copy and paste the following command to disable telemetry:

    "telemetry": { "disable": true },
    Quick note: If this is the last statement, you don’t need the comma (,) at the end, after the closing bracket.

    WinGet settings.json edit

  6. Use the Ctrl + S keyboard shortcut to save the file.

Once you complete the steps, the next time you use the Windows Package Manager to install an app, the process will show the rainbow-style progress bar and won’t send any telemetry information to Microsoft.

The location of the settings.json file is in %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json. However, if you have a non-packaged of winget, the file location will be in %LOCALAPPDATA%\Microsoft\WinGet\Settings\settings.json.

This guide shows a couple of examples of some of the settings you can customize with the winget command. You can find more customizations to add to the settings.json file on the winget-cli page on GitHub.