mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 07:25:58 +00:00
Use the AWS CLI without installing it
This commit is contained in:
parent
603abd890c
commit
8c80579abe
1 changed files with 30 additions and 0 deletions
30
docs/notes/infrastructure/aws-cli-without-installing.md
Normal file
30
docs/notes/infrastructure/aws-cli-without-installing.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: Using the AWS CLI without installing it
|
||||
tags:
|
||||
- AWS
|
||||
sources:
|
||||
- https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
|
||||
---
|
||||
|
||||
The official AWS CLI installation steps require downloading and running a script to install the CLI. This download contains the CLI itself, and the install script simply copies it to the right places.
|
||||
|
||||
However, especially for one-off uses, it's quite convenient to not run it at all, and run it as-is:
|
||||
|
||||
1\. Download the CLI:
|
||||
|
||||
```bash
|
||||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||
unzip awscliv2.zip
|
||||
```
|
||||
|
||||
2\. Make the CLI itself executable:
|
||||
|
||||
```bash
|
||||
chmod +x ./aws/dist/aws
|
||||
```
|
||||
|
||||
3\. Run the CLI:
|
||||
|
||||
```bash
|
||||
./aws/dist/aws help
|
||||
```
|
Loading…
Reference in a new issue