I had to do this AGAIN on a new Mac, so here goes:
1) Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2) Install python and pip
$ brew install python
$ curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
$ sudo python get-pip.py
3) Install Iterm2 (c'mon, how can you live without it?)
4) Install zsh and oh-my-zsh
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
5) Install and configure AWS CLI
$ sudo pip install awscli
$ sudo pip install awsebcli (if you work with Elastic Beanstalk)
$ aws configure
6) Enable auto-completion for the AWS CLI in zsh
Open ~/.zshrc and add aws to the list of plugins, e.g.: plugins=(git aws)
$ source ~/.zshrc
7) Test :)
$ aws s3 ls (or any other AWS command that you like!)
No comments:
Post a Comment