aws s3 lsIT technician command center
AWS CLI · Amazon Web Services

aws s3 ls

List S3 buckets.

Copy-ready commandaws s3 ls
aws s3 ls

Requirements and permissions

Requirements
AWS CLI v2
Permissions
AWS IAM permissions vary
Last reviewed
2026-07-31

Examples

Basic example

List S3 buckets.

aws s3 ls

Common errors

Command not found

Confirm AWS CLI v2 is installed and available in your current shell.