Commands for installing Tera Term 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 TeraTermProject.teraterm -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TeraTermProject.teraterm -e --silentwinget uninstall --id TeraTermProject.teraterm -e --silentBy installer
32-bit · EXE (Inno Setup) · Current user · en-US
Silent install
teraterm-5.7.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
teraterm-5.7.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tera-term"- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{07A7E17A-F6D6-44A7-82E6-6BEE528CCA2A}_is1
- Install folder
- %LocalAppData%\Programs\teraterm5
- DisplayVersion
- 5.7.1
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
teraterm-5.7.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
teraterm-5.7.1-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\tera-term"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{07A7E17A-F6D6-44A7-82E6-6BEE528CCA2A}_is1
- Install folder
- %ProgramFiles%\teraterm5
- DisplayVersion
- 5.7.1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-tera-term.ps1
$url = 'https://github.com/TeraTermProject/teraterm/releases/download/v5.7.1/teraterm-5.7.1-x86.exe'
$sha256 = '88BF481C67E9DE7037A5E986E9F5F860F8C70832B456E936CAC6C593FDD37950'
$file = Join-Path $env:TEMP 'teraterm-5.7.1-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 /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-tera-term.ps1
$url = 'https://github.com/TeraTermProject/teraterm/releases/download/v5.7.1/teraterm-5.7.1-x86.exe'
$sha256 = '88BF481C67E9DE7037A5E986E9F5F860F8C70832B456E936CAC6C593FDD37950'
$file = Join-Path $env:TEMP 'teraterm-5.7.1-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 /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait