Udostępnij za pośrednictwem


Installing PowerToys

We recommend installing PowerToys via GitHub or Microsoft Store, but alternative install methods are also listed if you prefer using a package manager.

Wymagania

  • Obsługiwane systemy operacyjne:
    • Windows 11 (wszystkie wersje)
    • Windows 10 v2004 (19041) lub nowszy
  • Architektura systemu
    • x64 and Arm64 architectures are currently supported.
  • Our installer will install the following runtimes:

To see if your machine meets these requirements, check your Windows version and build number by opening a Run dialog (Win+R), then type winver and select OK or Enter. Alternatively, enter the ver command in Windows Command Prompt. You may be able to update to the latest Windows version in Windows Update.

Installing with Windows executable file from GitHub

Aby zainstalować PowerToys przy użyciu pliku wykonywalnego Windows:

  1. Visit the Microsoft PowerToys GitHub releases page.
  2. Select the Assets drop-down menu to display the files for the release.
  3. Wybierz plik PowerToysSetup-0.##.#-x64.exe lub PowerToysSetup-0.##.#-arm64.exe, aby pobrać instalatora wykonywalnego PowerToys.
  4. Po pobraniu otwórz plik wykonywalny i postępuj zgodnie z monitami dotyczącymi instalacji.

Instalowanie za pomocą sklepu Microsoft Store

Install from the Microsoft Store's PowerToys page.

Instalowanie za pomocą menedżera pakietów Windows

To install PowerToys using the Windows Package Manager, it's as simple as running the following command from the command line / PowerShell:

winget install --id Microsoft.PowerToys --source winget

PowerToys supports configuring through winget configure using Desired State Configuration.

Installer arguments

Plik wykonywalny instalatora akceptuje opcje wiersza polecenia dla Microsoft Standard Installer .

Here are some common commands you may want to use:

Komenda Skrót Funkcja
/spokojny /q Instalacja dyskretna
/silent /s Instalacja dyskretna
/passive progress bar only install
/layout create a local image of the bootstrapper
/log /l zaloguj się do określonego pliku

Ask Copilot for help with command-line arguments

You can get AI assistance from Copilot to generate a winget command with the arguments you need. Możesz dostosować monit, aby wygenerować ciąg zgodnie z wymaganiami.

Poniższy tekst przedstawia przykładowy monit dla Copilota:

Generate a `winget` command to install Microsoft PowerToys with arguments to install silently and log the output to a file at the following path: C:\temp\install.log

Copilot jest obsługiwany przez sztuczną inteligencję, więc możliwe są niespodzianki i błędy. Aby uzyskać więcej informacji, zobacz Copilot FAQs.

Extracting the MSI from the bundle

Make sure to have WiX Toolset v3 installed. The command doesn't work with WiX Toolset v4.

This PowerShell example assumes the default install location for WiX Toolset and that the PowerToys installer has been downloaded to the Windows desktop.

cd $Env:WIX\"bin"

# dark.exe -x OUTPUT_FOLDER INSTALLER_PATH
.\dark.exe -x ${Env:\USERPROFILE}"\Desktop\extractedPath" ${Env:\USERPROFILE}"\Desktop\PowerToysSetup-0.53.0-x64.exe"

Poprawki dotyczące odinstalowywania wersji 0.51 i wcześniejszych problemów z kompilacjami

If you have an issue with the MSI being inaccessible, you can download the installer that corresponds with the installed version via the PowerToys releases page and run the following command. You'll need to change EXECUTABLE_INSTALLER_NAME to the actual file name.

In PowerShell, run .\EXECUTABLE_INSTALLER_NAME.exe --extract_msi and this will extract the MSI to your desktop.

Czyszczenie skryptów

If there are problems while uninstalling a version, there are cleanup scripts available:

  • <github.com/microsoft/PowerToys/tree/main/tools/CleanUp_tool>
  • <github.com/microsoft/PowerToys/tree/main/tools/CleanUp_tool_powershell_script>

Narzędzia instalacyjne tworzone przez społeczność

These community-driven alternative install methods aren't officially supported, and the PowerToys team doesn't update or manage these packages.

Installing with Chocolatey

Aby zainstalować PowerToys przy użyciu Chocolatey, uruchom następujące polecenie z poziomu wiersza polecenia/programu PowerShell:

choco install powertoys

Aby uaktualnić PowerToys, uruchom polecenie:

choco upgrade powertoys

If you have issues when installing/upgrading, create an issue at the maintainers GitHub repository or follow the Chocolatey triage process.

Installing with Scoop

Aby zainstalować PowerToys przy użyciu Scoop, uruchom następujące polecenie z poziomu wiersza polecenia/programu PowerShell:

scoop bucket add extras
scoop install powertoys

To update PowerToys using Scoop, run the following command from the command line / PowerShell:

scoop update powertoys

Jeśli masz problemy podczas instalowania/aktualizowania, zgłoś problem w repozytorium Scoop w witrynie GitHub.

Po instalacji

After successfully installing PowerToys, an overview window will display with introductory guidance for each of the available utilities.

Aktualizacje

PowerToys uses an automatic update checker that checks for new versions when the app is running. If enabled, a toast notification will appear when an update is available. You can also check for updates manually from the PowerToys Settings.

PowerToys Update

Microsoft PowerToys: Utilities to customize Windows

General settings for PowerToys

PowerToys on GitHub