If you try to run a awscli command on your Mac Terminal, you will get an error saying "zsh: command not found: awscli". That is because, the command is aws and not awscli.
Wrong Command: awscliawscli --version
zsh: command not found: awscli
![zsh- command not found- awscli zsh- command not found- awscli](https://code2care.org/q/fix-zsh-command-not-found-awscli/images/zsh- command not found- awscli.jpg)
% aws --version
aws-cli/2.13.22 Python/3.11.5 Darwin/23.0.0 source/arm64 prompt/off
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to AWS,
- Get the total size and number of objects of a AWS S3 bucket and folders
- How to Create AWS SNS Topic using AWS CLI
- Fix: Amazon Linux bash: sudo: command not found
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Create an AWS User using CLI2 Command at a specific Path
- Fix: Missing the following required SSO configuration values: sso_start_url, sso_region
- Fix: zsh: command not found: aws (Mac/macOS)
- Configure AWS Access ID and Secret Keys using CLI on Mac
- Quick way to setup AWS DynamoDB locally on macOS
- Most Essencial AWS CLI 2 S3 ls Command Options
- How to Check AWS SNS Permissions using CLI
- AWS CLI Change Default Output Format
- How to install AWS CLI on Ubuntu
- Quick way to install AWS CLI for macOS Terminal
- Install AWS CLI using Brew Command
- AWS CLI Command to Get a List of SNS Topics
- Get List of AWS SNS Topic Subscriptions using CLI
- How to Setup AWS Credentials using Visual Studio Code
- Installing AWS CLI Version 2 on macOS Sonoma using Terminal
- AW3 CLI command to get list of all region names
- AWS SNS CLI Command Publish Message Attributes
- Create an S3 bucket in a specific AWS region using CLI Command
- [Fix] zsh: command not found: awscli [Mac Terminal]
- Understanding AWS Calculator: DynamoDB on-demand capacity
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
More Posts:
- How to turn off Stage Manager - macOS Ventura - MacOS
- How do I get a list of all branches in Git? - Git
- Steps to Enable Developer Mode on iOS 17 - iPhone and iPad - iOS
- Internet Explorer browser auto redirect to Microsoft Edge for compatibility with modern web sites - Microsoft
- Add days/weeks/months/years to LocalDate in Java 8 and above examples - Java
- GitPython: How to check out a Branch - Python
- How to start/boot macOS in safe mode - Big Sur 11.0, Catalina 10.15, or Mojave 10.14 - MacOS
- How to Show File Extensions for Xcode Files - MacOS