Kommandoer for å installere Phrase Strings CLI uten spørsmål, fjerne programmet igjen og gjenkjenne det i distribusjonsverktøy. En kommando vises bare når den er sikker: fra manifestet eller som dokumentert standard for installasjonsteknologien.
Relatert veiledning: Parametre for stille installasjon: MSI, NSIS, Inno · Avinstaller et program via registeret eller PowerShell
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 --silentPer installasjonsfil
64-bit · EXE (Inno Setup) · Alle brukere
Stille installasjon
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
phrase_windows_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\phrase-strings-cli"- Registernøkkel for avinstallering
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
64-bit · Portabel
Krever ingen installasjon (portabel)
32-bit · EXE (Inno Setup) · Alle brukere
Stille installasjon
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"- Registernøkkel for avinstallering
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{DC598D8E-8A9B-4CAD-AFD8-0324FDF4E0F1}_is1
32-bit · Portabel
Krever ingen installasjon (portabel)
PowerShell: last ned, kontroller, installer
Laster ned den offisielle filen, kontrollerer SHA256-summen og installerer i stillhet.
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