KAS-CLEAN(1)
π 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.yamlinsideKAS_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/--isarand--isar-rootlessare mutually exclusive β the synopsis shows them with a|between them, so pick ONE, not both. don't be greedy. π
π SEE ALSO π
kas-plugin-cleanallkas-plugin-cleansstatekas-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 π«‘β¨
πΈ Copyright
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
- ubuntu stonking: kas 5.4-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms