Cloud Techies
Published in

Cloud Techies

AWS — Quick setup


  • Install python
brew install python
ls -l /usr/local/bin/python*
ln -s -f /usr/local/bin/python3.9 /usr/local/bin/python
  • Install aws-cli
curl “" -o “AWSCLIV2.pkg”
sudo installer -pkg AWSCLIV2.pkg -target /
which aws
aws --version
  • Install and configure git.
brew install git
git --version
git config --global “<your username>”
git config --global “<your mail id>”
git config --global credential.helper osxkeychain
  • Setup any text editor like Sublime Text. Here I setup Sublime Text as the Git Mergetool.
git config --global mergetool.sublime.cmd “subl -w \$MERGED”
git config --global mergetool.sublime.trustExitCode false
git config --global merge.tool sublime
git mergetool -y
  • Configure Visual Studio Code
brew install --cask visual-studio-code
echo “export PATH=”$PATH:/Applications/Visual Studio”” >> ~/.bash_profile
code .
code <filename>
  • Configure your bash profile.
git config --global core.excludesfile ~/.gitignore
brew install bash-completion
echo “[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion” >> ~/.bash_profile
source ~/.bash_profile
git clone <git-repo-url>
  • Set alias
echo -e ‘if command -v pyenv 1>/dev/null 2>&1; then\n eval “$(pyenv init -)”\nfi’ >> ~/.zshrc
alias python=/usr/local/bin/python3
echo “alias python=/usr/local/bin/python3” >> ~/.zshrcecho “alias pip=/usr/bin/pip3” >> ~/.zshrc
  • Create necessary hard link (optional).
ln -s /Applications/Sublime\ /usr/local/bin/subl
subl <filename>



A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arun Kumar

Cloud Architect | AWS, GCP, Azure, Python, Kubernetes, Terraform, Ansible