LoginSignup
3
3

More than 5 years have passed since last update.

Installed aws-cli On Mac OS X Lion

Last updated at Posted at 2013-09-04

environment

  • Mac OS X 10.7.5
  • Python 2.7.1
  • aws-cli 1.0.0

setup

shell
$ virtualenv aws-cli
$ cd aws-cli/
$ source bin/activate
$ pip install awscli
$ source bin/aws_zsh_completer.sh
$ vi config

config file

config
[default]
aws_access_key_id=<default access key>
aws_secret_access_key=<default secret key>
region=ap-northeast-1

usage

shell
$ export AWS_CONFIG_FILE=/path/to/aws-cli/config
$ aws --version
aws-cli/1.0.0 Python/2.7.1 Darwin/11.4.2
$ aws ec2 describe-instances
$ aws s3 ls
# more information see help
$ aws help
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3