This is a plugin for PowerToys Run that allows you to search and install packages from the Winget package manager.
- Search for packages from the Winget repository
- Install packages directly from PowerToys Run
- View package details and version information
Use the installation script release.ps1
:
.\release.ps1
Then restart PowerToys
Or manually:
- Download the latest release of the Winget Plugin from the releases page.
- Extract the zip file's contents to your PowerToys modules directory (usually
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
). - Restart PowerToys.
- Open PowerToys Run (default shortcut is
Alt+Space
). - Type
winget
followed by your search query. - Select a package from the search results and press
Enter
to install it.
- Clone the PowerToys repo.
- cd into the
PowerToys
directory. - Initialize the submodules:
git submodule update --init --recursive
- Clone this repo into the
PowerToys/src/modules/launcher/Plugins
directory. (git clone https://github.com/bostrot/PowerToysRunPluginWinget PowerToys/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.Winget
) - Open the
PowerToys.sln
solution in Visual Studio. - Add this project to the
PowerToys.sln
solution. (Right-click on thePowerToys
solution in the Solution Explorer (under the path PowerToys/src/modules/launcher/Plugins) and selectAdd > Existing Project...
and select theCommunity.PowerToys.Run.Plugin.Winget.csproj
file.) - Build the solution.
- Run the
PowerToys
project.
Contributions are welcome! Please see our contributing guidelines for more information.
This project is licensed under the MIT License.
I wrote an article about that in my blog which might help you to get started: How to create a PowerToys Run plugin