Skip to content

feat: Add awscli:// provider for installing AWS CLI v2#270

Open
JonTheNiceGuy wants to merge 1 commit intomarcosnils:masterfrom
JonTheNiceGuy:add-awscli
Open

feat: Add awscli:// provider for installing AWS CLI v2#270
JonTheNiceGuy wants to merge 1 commit intomarcosnils:masterfrom
JonTheNiceGuy:add-awscli

Conversation

@JonTheNiceGuy
Copy link

Add a new provider that installs AWS CLI v2 via bin install awscli://[version], supporting Linux (amd64/arm64) and macOS. The provider downloads and runs the official AWS installer, creates wrapper scripts for aws and aws_completer, and discovers latest versions via the GitHub tags API.

Also adds an optional Cleaner interface so providers can clean up supporting files on bin remove, and implements it for awscli to remove the lib directory and aws_completer wrapper.

Closes #263

Add a new provider that installs AWS CLI v2 via `bin install awscli://[version]`,
supporting Linux (amd64/arm64) and macOS. The provider downloads and runs the
official AWS installer, creates wrapper scripts for aws and aws_completer, and
discovers latest versions via the GitHub tags API.

Also adds an optional Cleaner interface so providers can clean up supporting
files on `bin remove`, and implements it for awscli to remove the lib directory
and aws_completer wrapper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JonTheNiceGuy
Copy link
Author

Tested in a go docker container and on a macOS Sequoia 15.6.1 system. It has not been tested on WSL or Windows Powershell.

@JonTheNiceGuy
Copy link
Author

No rush, just bumping this so it doesn't get missed :) Let me know if you need anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: awscli

1 participant