aws / aws/aws-cli

Windows installer is very slow

Open
#9,414 11 comments 9 reactions 0 assignees View on GitHub
bug p2 source-distribution
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

### Describe the bug

I manage software on my Windows machine via WinGet. Periodically, I run `winget upgrade --all` to upgrade versions. In general, this works very smoothly, but AWS CLI is an outlier here. The installer is very slow in upgrading, taking tens of seconds, if not several minutes to get its job done. Even complicated and large software such as browsers and IDEs update faster. The issue is worsened by the very fast upgrade cycle of AWS CLI v2, which means that the slow installer runs basically every time WinGet runs.

Please look into making the Windows installer faster.

### Regression Issue

- [ ] Select this option if this issue appears to be a regression.

### Expected Behavior

Install completes in seconds

### Current Behavior

Install completes, but takes tens of seconds, if not minutes

### Reproduction Steps

Depending on if AWS CLI is already installed:
```
winget install Amazon.AWSCLI
winget upgrade Amazon.AWSCLI
```

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### CLI version used

2

### Environment details (OS name and version, etc.)

Windows 11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.