Commands for installing Letta Code 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 Letta.LettaCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Letta.LettaCode -e --silentwinget uninstall --id Letta.LettaCode -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
x64 /SCustom folder
x64 /S /D=C:\Apps\letta-code- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\fec40bfe-4762-5274-81d6-9a919b7c5853
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-letta-code.ps1
$url = 'https://download.letta.com/builds/261012xav5l1kav/windows/nsis/x64'
$sha256 = 'A6DF5D7363902CC16FC877E61A254D7C7043BEEAC301692BB55731682FEA09A5'
$file = Join-Path $env:TEMP 'x64'
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