Winget Plugin for PowerToys Run
This is a plugin for PowerToys Run that allows you to search and install packages from the Winget package manager.
Features
- Search for packages from the Winget repository
- Install packages directly from PowerToys Run
- View package details and version information
Installation
- Download the latest release of the Winget Plugin from the releases page.
- Extract the zip file's contents to your PowerToys modules directory (usually
C:\Program Files\PowerToys\RunPlugins
). - Restart PowerToys.
Usage
- 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.
Build
- 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.
Contributing
Contributions are welcome! Please see our contributing guidelines for more information.
License
This project is licensed under the MIT License.
Create your own PowerToys Run Plugin
I wrote an article about that in my blog which might help you to get started: How to create a PowerToys Run plugin