Popular: Data updated October 27, 2026

Categories

Internet1,356
Communication321
Audio & video898
Graphics & design539
Office & productivity1,124
Developer tools3,134
AI tools529
Security & privacy385
System tools3,114
Games523
Education & science239
Network & IT284

AWS Command Line Interface silent install & uninstall

Universal Command Line Interface for Amazon Web Services

Amazon Web Services Cloud storage & sync #2 Cloud storage & sync

Commands for installing AWS Command Line Interface 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 Amazon.AWSCLI -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Amazon.AWSCLI -e --silent
winget uninstall --id Amazon.AWSCLI -e --silent

By installer

64-bit · MSI · Current user

Silent installmsiexec /i AWSCLIV2-2.38.6.msi /qn /norestart
Write a logmsiexec /i AWSCLIV2-2.38.6.msi /qn /norestart /l*v "%TEMP%\aws-command-line-interface-install.log"
Uninstallmsiexec /x {17068BB5-8533-431B-9753-82BC54811515} /qn /norestart
MSI product code
{17068BB5-8533-431B-9753-82BC54811515}
Uninstall registry key
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{17068BB5-8533-431B-9753-82BC54811515}
UpgradeCode
{E1C1971C-384E-4D6D-8D02-F1AC48281CF8}
Install folder
%LocalAppData%\Programs\Amazon\AWSCLIV2

64-bit · MSI · All users

Silent installmsiexec /i AWSCLIV2-2.38.6.msi /qn /norestart
Write a logmsiexec /i AWSCLIV2-2.38.6.msi /qn /norestart /l*v "%TEMP%\aws-command-line-interface-install.log"
Uninstallmsiexec /x {17068BB5-8533-431B-9753-82BC54811515} /qn /norestart
MSI product code
{17068BB5-8533-431B-9753-82BC54811515}
Uninstall registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{17068BB5-8533-431B-9753-82BC54811515}
UpgradeCode
{E1C1971C-384E-4D6D-8D02-F1AC48281CF8}
Install folder
%ProgramFiles%\Amazon\AWSCLIV2

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-aws-command-line-interface.ps1
$url = 'https://awscli.amazonaws.com/AWSCLIV2-2.38.6.msi'
$sha256 = 'D954D0A917B486E0D68C357AB6CAA24A930573F12849B5F6770347B7A7DB1353'
$file = Join-Path $env:TEMP 'AWSCLIV2-2.38.6.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

Most popular in Cloud storage & sync

See all
  1. SyncthingOpen Source Continuous File Synchronization
  2. AWS Command Line InterfaceUniversal Command Line Interface for Amazon Web Services
  3. DropboxOrganise all your team's content, tune out distractions, and get everyone coordinated with the world's first smart workspace.
  4. RcloneRclone ("rsync for cloud storage") is a command-line program to sync files and directories to and from different cloud storage providers.
  5. herokuThe Heroku Command Line Interface (CLI) makes it easy to create and manage your Heroku apps directly from the terminal. It is an essential part of using Heroku.
  6. SeafileSeafile desktop client
  7. balena-cliThe balena CLI is a Command Line Interface for balenaCloud or openBalena.
  8. Google DriveSafely store your files and access them from any device.
  9. SyncTrayzor (x64)Windows tray utility / launcher for Syncthing (v2 continued)
  10. gamcommand line management for Google Workspace

More from Amazon Web Services

See all
  • KiroAn agentic IDE that helps you do your best work with features such as specs, steering, and hooks.
  • LLRTLLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
  • AWS Copilot CLIYour toolkit for containerized applications on AWS
  • Amazon SSM AgentAn agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
  • Session Manager PluginThis plugin helps you to use the AWS Command Line Interface (AWS CLI) to start and end sessions to your managed instances.
  • Amazon EC2LaunchUse the EC2Launch v2 agent to perform tasks during EC2 Windows instance launch

Tags

Share