PhpStorm (EAP)を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id JetBrains.PhpStorm.EAP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JetBrains.PhpStorm.EAP -e --silentwinget uninstall --id JetBrains.PhpStorm.EAP -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
PhpStorm-263.7307.51.exe /Sインストール先を指定
PhpStorm-263.7307.51.exe /S /D=C:\Apps\phpstorm-eap- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PhpStorm 263.7307.51
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
PhpStorm-263.7307.51.exe /Sインストール先を指定
PhpStorm-263.7307.51.exe /S /D=C:\Apps\phpstorm-eap- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PhpStorm 263.7307.51
ARM64 · EXE(NSIS) · 現在のユーザー
サイレントインストール
PhpStorm-263.7307.51-aarch64.exe /Sインストール先を指定
PhpStorm-263.7307.51-aarch64.exe /S /D=C:\Apps\phpstorm-eap- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PhpStorm 263.7307.51
ARM64 · EXE(NSIS) · すべてのユーザー
サイレントインストール
PhpStorm-263.7307.51-aarch64.exe /Sインストール先を指定
PhpStorm-263.7307.51-aarch64.exe /S /D=C:\Apps\phpstorm-eap- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PhpStorm 263.7307.51
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-phpstorm-eap.ps1
$url = 'https://download.jetbrains.com/webide/PhpStorm-263.7307.51.exe'
$sha256 = 'F6F75F67DB52A0A979A06DB9AD6F51AA776BB894716F46D4A9B7064B8AD56C89'
$file = Join-Path $env:TEMP 'PhpStorm-263.7307.51.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 '/S' -Wait install-phpstorm-eap.ps1
$url = 'https://download.jetbrains.com/webide/PhpStorm-263.7307.51.exe'
$sha256 = 'F6F75F67DB52A0A979A06DB9AD6F51AA776BB894716F46D4A9B7064B8AD56C89'
$file = Join-Path $env:TEMP 'PhpStorm-263.7307.51.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 '/S' -Wait install-phpstorm-eap.ps1
$url = 'https://download.jetbrains.com/webide/PhpStorm-263.7307.51-aarch64.exe'
$sha256 = '80B6EF83B0FD592CD1A815AF8189C1F89696422B4139B09696A5374747067568'
$file = Join-Path $env:TEMP 'PhpStorm-263.7307.51-aarch64.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 '/S' -Wait install-phpstorm-eap.ps1
$url = 'https://download.jetbrains.com/webide/PhpStorm-263.7307.51-aarch64.exe'
$sha256 = '80B6EF83B0FD592CD1A815AF8189C1F89696422B4139B09696A5374747067568'
$file = Join-Path $env:TEMP 'PhpStorm-263.7307.51-aarch64.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 '/S' -Wait