# microsoft/powertoys

> PowerToys is a collection of over 30 utilities that help users customize Windows and streamline everyday tasks. Each utility handles a specific job, and users change how each one behaves from its Settings window. The code is written mainly in C# and C++.

Source: https://github.com/microsoft/powertoys
Indexed: commit 37bdbbc on 2026-11-11 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: C
- Stars: 140,863 at index time
- License: MIT
- Code health: 7.0/10, Fair
- Last commit: 2026-11-11
- Contributors: 717

## Install

From the README: https://github.com/microsoft/powertoys#-installation

Install PowerToys with the user scope installer, which is the default, using WinGet from the command line or PowerShell.
    winget install Microsoft.PowerToys -s winget

For a machine-wide install, run the WinGet command with the machine scope option.
    winget install --scope machine Microsoft.PowerToys -s winget

## How it works

Most of the code sits under src, which holds 6223 of the repository's files. src/common is shared Windows code for logging, settings files, version data and UI test automation, and the runner calls into it more than any other part. src/common/interop provides helper code for logging, named-pipe trust, update state, notifications and native API calls. src/dsc/v3/PowerToys.DSC/Program.cs is one of the program entry points, and src/dsc/PowerToys.Settings.DSC.Schema.Generator/Program.cs is a separate entry point for the Settings DSC schema generator. installer/PowerToysSetupCustomActionsVNext adds custom steps to the installer, including handling of files-in-use prompts during setup.

- .github/skills/winmd-api-search/scripts/cache-generator/Program.cs: entry point
- .pipelines/powerdisplay-idd-poc/production/Program.cs: entry point
- doc/devdocs-website/docmd-plugins/github-source-links/index.js: entry point
- src/dsc/PowerToys.Settings.DSC.Schema.Generator/Program.cs: entry point
- src/dsc/v3/PowerToys.DSC/Program.cs: entry point
Modules: src, tools, .github, .pipelines, installer, doc. 7,249 files, 772,359 lines, 84,216 symbols.

## Code health

- Score: 7.0/10 (Fair)
- Trend: 7.5 on 2026-08-19, 7.0 on 2026-11-11
- Rank: not ranked (not on a leaderboard yet)
- Hotspots: src/modules/cmdpal/Microsoft.CmdPal.UI/Pages/ShellPage.xaml.cs, src/modules/ZoomIt/ZoomIt/Zoomit.cpp, src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs, src/modules/cmdpal/Tests/Microsoft.CmdPal.UI.ViewModels.UnitTests/CommandItemViewModelTests.cs, src/modules/cmdpal/Microsoft.CmdPal.UI/ExtViews/ListItemsView.xaml.cs
- Lowest file: src/modules/keyboardmanager/KeyboardManagerEngineLibrary/KeyboardEventHandlers.cpp
- Dead code: 87 findings

## Maintenance

- Last commit 2026-11-11, first commit 2013-12-19, 9,395 commits
- 717 contributors, bus factor 8

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/microsoft/powertoys/security

## More

- Page: https://repowise.dev/repo/microsoft/powertoys
- Ask this codebase: https://repowise.dev/repo/microsoft/powertoys/chat
- Docs: https://repowise.dev/repo/microsoft/powertoys/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/microsoft/powertoys
