Coreutils for Windowsを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
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 --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
coreutils-2026.9.3-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
coreutils-2026.9.3-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\coreutils-for-windows"ARM64 · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
coreutils-2026.9.3-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
coreutils-2026.9.3-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\coreutils-for-windows"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
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