What it is
Cached temporary credentials and responses. Keep ~/.aws/config and credentials.
Can you delete it?
Yes, it is rebuilt automatically. Rebuilt on the next command; you may need to sign in with SSO again.
How to clean it safely
- Delete ~/.aws/cli/cache only.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/".aws/cli/cache" 2>/dev/nullStep-by-step guide: Developer caches on a Mac →
Related folders
- Swift Package Manager cache ·
~/Library/Caches/org.swift.swiftpm - Poetry cache ·
~/Library/Caches/pypoetry - Vite dependency cache ·
<project>/node_modules/.vite - Sublime Text cache ·
~/Library/Caches/com.sublimetext.4 - Ivy cache ·
~/.ivy2/cache - Carthage cache ·
~/Library/Caches/org.carthage.CarthageKit
Questions
Is it safe to delete ~/.aws/cli/cache?
Yes, it is rebuilt automatically. Rebuilt on the next command; you may need to sign in with SSO again.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac