macOS awscli setup guide

macOS aws-cli setup guide Link to heading

This guide provides a comprehensive walkthrough for setting up the AWS Command Line Interface (CLI) on macOS. The AWS CLI is an open-source tool that enables you to interact with AWS services using commands in your command-line shell. This setup will also cover enabling autocomplete functionality for zsh.

Note: Link to heading

Please follow my other guide on setting up oh-my-zsh and homebrew before proceeding by clicking here

Install AWS-CLI Link to heading

  1. Run following command to install aws-cli
brew install awscli
  1. Verify you awscli installation by running
aws --version
  1. Add this line to the end of your ~/.zshrc file by running:
vim ~/.zshrc

source /usr/local/share/zsh/site-functions/_aws

  1. After sourcing the file, you should now be able to access autocomplete functionality by pressing the Tab key.