ARDUINO-CLI-CACHE-CLEAN(1)

πŸ“¦
version 1.5.1 Β· 2 versions
, in ubuntu stonking

✨ ARDUINO-CLI-CACHE-CLEAN ✨

okay bestie, welcome to the ARDUINO COMMAND LINE MANUAL, section 1 πŸ’… this is the page for arduino-cli-cache-clean, and yes it's exactly as chaotic-delicious as it sounds πŸŽ€

🌸 NAME 🌸

arduino-cli-cache-clean β€” Delete Boards/Library Manager download cache.

literally it just nukes the download cache. that's the whole vibe. πŸ—‘οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

arduino-cli cache clean [flags]

that's it. that's the summoning spell πŸͺ„


πŸ’– DESCRIPTION πŸ’–

So here's the tea β˜• β€” this command deletes the contents of the downloads cache folder, which is the lil stash where archive files get staged while you're installing libraries and boards platforms πŸ“¦

think of it like clearing out your camera roll after you've already posted the pics. the downloads folder did its job, the stuff got installed, and now it's just sitting there taking up space. this command says "okay girl, we're done here" and clears it out πŸ’…

⚠️ heads up bestie: it deletes the contents of the cache folder. so if something was mid-download... yeah. maybe don't. πŸ™ˆ

πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help[=false] β€” help for clean. your lil "what does this do again" button 🫢

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these bad boys get passed down from the parent command, so they work here too ✨

  • --additional-urls=[] β€” Comma-separated list of additional URLs for the Boards Manager. drop extra board sources in here, separated by commas, and the Boards Manager will go look at them too πŸ’œ
  • --config-dir="" β€” Sets the default data directory (Arduino CLI will look for configuration file in this directory). iykyk β€” this is where your config file is gonna be hunted down 🧚
  • --config-file="" β€” The custom config file (if not specified the default will be used). got a specific config file in mind? point at it here. if you don't, the default one gets the job πŸŽ€
  • --json[=false] β€” Print the output in JSON format. for when you need it machine-readable, no cap πŸ€–
  • --log[=false] β€” Print the logs on the standard output. logs go straight to stdout, right in your face πŸ‘€
  • --log-file="" β€” Path to the file where logs will be written. wanna keep the receipts? give it a path πŸ“
  • --log-format="text" β€” The output format for the logs, can be: text, json. two options, two vibes. pick your fighter ⭐
  • --log-level="info" β€” Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic. the higher up you go, the more dramatic the messages get 😭
  • --no-color[=false] β€” Disable colored output. for the monochrome girlies πŸ–€

πŸ“ EXAMPLE πŸ“

debian/build/bin/arduino-cli cache clean

and boom, cache cleared, slay πŸ’…βœ¨


πŸ’€ SEE ALSO πŸ’€


πŸ•°οΈ HISTORY πŸ•°οΈ

15-Aug-2026 β€” Auto generated by spf13/cobra πŸ€–


okay that's the whole page!! everything you needed, nothing skipped, periodt πŸ’– this lil manual page was Auto generated by spf13/cobra, and it's dated Aug 2026, living under the big ARDUINO COMMAND LINE MANUAL(1) umbrella πŸŒ‚ go forth and clean that cache, main character πŸ§šπŸ’œ

πŸ“¦ where this page comes from