Kommandoer til at installere Phrase Strings CLI uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id Phrase.PhraseCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Phrase.PhraseCLI -e --silentwinget uninstall --id Phrase.PhraseCLI -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\phrase-strings-cli"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
64-bit · Portabel
Kræver ingen installation (portabel)
32-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
phrase_windows_setup_386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
phrase_windows_setup_386.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\phrase-strings-cli"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
32-bit · Portabel
Kræver ingen installation (portabel)
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-phrase-strings-cli.ps1
$url = 'https://github.com/phrase/phrase-cli/releases/download/2.71.0/phrase_windows_setup.exe'
$sha256 = 'FF32059C2CDFFEC63C5ECDC5DC2E2A9803353361197AF9202D61F7921C8D02C2'
$file = Join-Path $env:TEMP 'phrase_windows_setup.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-phrase-strings-cli.ps1
$url = 'https://github.com/phrase/phrase-cli/releases/download/2.71.0/phrase_windows_setup_386.exe'
$sha256 = '2D4F09146CAFC2B0A98B51894133A1A2B21B63C91D5792365B267227A2D1E035'
$file = Join-Path $env:TEMP 'phrase_windows_setup_386.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