Ordres per instal·lar DevToys sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id DevToys-app.DevToys -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DevToys-app.DevToys -e --silentwinget uninstall --id DevToys-app.DevToys -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
devtoys_win_x64.exe /VERYSILENTUna altra carpeta
devtoys_win_x64.exe /VERYSILENT /DIR="C:\Apps\devtoys"ARM64 · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
devtoys_win_arm64.exe /VERYSILENTUna altra carpeta
devtoys_win_arm64.exe /VERYSILENT /DIR="C:\Apps\devtoys"32 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
devtoys_win_x86.exe /VERYSILENTUna altra carpeta
devtoys_win_x86.exe /VERYSILENT /DIR="C:\Apps\devtoys"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-devtoys.ps1
$url = 'https://github.com/DevToys-app/DevToys/releases/download/v2.0.9.0/devtoys_win_x64.exe'
$sha256 = 'E099D9FC6771110C3371BB8ADC778312D34EC0963A2F86DEE4F7C1661B7E7C0F'
$file = Join-Path $env:TEMP 'devtoys_win_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' -Wait install-devtoys.ps1
$url = 'https://github.com/DevToys-app/DevToys/releases/download/v2.0.9.0/devtoys_win_arm64.exe'
$sha256 = '4D0426D0C26C0CE743A7C27DAE920164FA1C11E46D221EBBA17DC6A718B316F7'
$file = Join-Path $env:TEMP 'devtoys_win_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' -Wait install-devtoys.ps1
$url = 'https://github.com/DevToys-app/DevToys/releases/download/v2.0.9.0/devtoys_win_x86.exe'
$sha256 = 'FBED7DD16FB18A8BEDB0F8B84C61029A8C386CD895CED5EB4A250E6E35651893'
$file = Join-Path $env:TEMP 'devtoys_win_x86.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' -Wait