Difference between revisions of "AWS CLI Installation"
Jump to navigation
Jump to search
↑ https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html
(→Linux) Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html | https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html | ||
− | * Ubuntu, execute <code>[[apt-get -q install | + | * Ubuntu, execute <code>[[apt-get -q install -y awscli]]</code> and configure it<ref>https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html</ref> use <code>[[aws configure]]</code> and check configuration using <code>[[aws configure list]]</code>. |
* Linux installation | * Linux installation | ||
Line 15: | Line 15: | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" & unzip awscliv2.zip && sudo ./aws/install | curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" & unzip awscliv2.zip && sudo ./aws/install | ||
You can run now: [[/usr/local/bin/]][[aws --version]] | You can run now: [[/usr/local/bin/]][[aws --version]] | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[public.ecr.aws/aws-cli/aws-cli]]</code> | ||
== See also == | == See also == |
Latest revision as of 02:38, 6 June 2024
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
- Ubuntu, execute
apt-get -q install -y awscli
and configure it[1] useaws configure
and check configuration usingaws configure list
.
- Linux installation
- MacOS, execute:
brew install awscli
Linux[edit]
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" & unzip awscliv2.zip && sudo ./aws/install You can run now: /usr/local/bin/aws --version
Related[edit]
See also[edit]
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: