Commands for installing Coreutils for Windows without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Microsoft.Coreutils -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Coreutils -e --silentwinget uninstall --id Microsoft.Coreutils -e --silentBy installer
64-bit · EXE (Inno Setup) · All users
Silent install
coreutils-2026.9.3-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
coreutils-2026.9.3-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\coreutils-for-windows"ARM64 · EXE (Inno Setup) · All users
Silent install
coreutils-2026.9.3-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
coreutils-2026.9.3-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\coreutils-for-windows"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-coreutils-for-windows.ps1
$url = 'https://github.com/microsoft/coreutils/releases/download/v2026.9.3/coreutils-2026.9.3-x64.exe'
$sha256 = '5600CAF3EA219274FEB3E8F8B626A80263EB5C41D531E36A0ACBC72CC670A229'
$file = Join-Path $env:TEMP 'coreutils-2026.9.3-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-coreutils-for-windows.ps1
$url = 'https://github.com/microsoft/coreutils/releases/download/v2026.9.3/coreutils-2026.9.3-arm64.exe'
$sha256 = '88BF91C1FD430B59472230B6F131FC84046F9F6832557C5C26CA630EDD2274A4'
$file = Join-Path $env:TEMP 'coreutils-2026.9.3-arm64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait