Commands for installing Anytype without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id AnyAssociation.Anytype -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AnyAssociation.Anytype -e --silentwinget uninstall --id AnyAssociation.Anytype -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
"Anytype Setup 0.57.4.exe" /SCustom folder
"Anytype Setup 0.57.4.exe" /S /D=C:\Apps\anytype- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\425256e4-03e3-5ba0-b070-d372039ec7ab
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-anytype.ps1
$url = 'https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype%20Setup%200.57.4.exe'
$sha256 = '7FE5D2C471943D8257EEDD1A161C1D5F04D4F0D52401BC409A1790779E7584B8'
$file = Join-Path $env:TEMP 'Anytype Setup 0.57.4.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