KAS-CLEAN(1)

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

πŸ’… KAS-CLEAN β€” the kas clean command, bestie

okay so you want to know about kas-clean? say less. this is the lil' command inside the kas suite that ✨cleans your build artifacts✨ while being super respectful of your sstate cache and your downloads folder. she's tidy, she's polite, she knows what to keep. main character energy fr fr. πŸ§ΉπŸ’–


✨ SYNOPSIS ✨

kas clean [-h] [--dry-run] [--isar-privileged | --isar-rootless] [config]

that's it. that's the whole vibe. πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

Cleaning time!! 🧼 This command cleans the build artifacts, but it keeps your sstate cache and your downloads β€” she's not gonna make you re-download the entire internet, periodt.

Basically how it works: it cleans the build artifacts by removing the build artifacts directory. That's the whole move. Directory goes bye-bye, cache and downloads stay cozy. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

🌸 Positional Arguments

  • config β€” the config file(s), and you separate multiple ones with a colon (:). If you don't specify any, she'll go looking for .config.yaml inside KAS_WORK_DIR, and use it if it exists. no config, no problem (as long as that file's there, bestie). πŸ’œ

πŸ¦‹ Named Arguments

  • --dry-run=False β€” the "lemme just look, don't touch anything" mode. She does not remove anything, she just prints out what would have been removed. perfect for when you're feeling nosy but not reckless. πŸ™ˆ
  • --isar-privileged=False, --isar=False β€” use the ISAR (privileged) build directory layout. two spellings, one vibe. πŸ”₯
  • --isar-rootless=False β€” use the ISAR (rootless) build directory layout. πŸ’…
heads up: --isar-privileged/--isar and --isar-rootless are mutually exclusive β€” the synopsis shows them with a | between them, so pick ONE, not both. don't be greedy. 😭

🌈 SEE ALSO 🌈

  • kas-plugin-cleanall
  • kas-plugin-cleansstate
  • kas-plugin-purge

go check those out if clean isn't cleaning enough for you πŸ‘€


πŸ’– KAS πŸ’–

Part of the kas(1) suite. she's not alone, she's got a whole family. iconic behavior honestly. ⭐

πŸŽ€ Author

Daniel Wagner, Jan Kiszka, Claudius Heine β€” the legends who made this happen 🫑✨

Siemens and contributors, 2017-2025 β€” protect the intellectual property, slay πŸ’…


k that's the whole page bestie, go forth and clean responsibly. Ctrl+C if you get scared, no judgment πŸ“

this was version 5.4, dated Jun 25, 2026 β€” catch you on the next manpage, mwah πŸ’‹πŸ§šπŸ’œ

πŸ“¦ where this page comes from