[{"data":1,"prerenderedAt":457,"buildId":458},["ShallowReactive",2],{"docs:\u002Freference\u002Fcli":3},{"page":4,"section":16,"document":17,"credits":10,"prev":10,"next":453},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"cli","\u002Freference\u002Fcli","reference\u002Fcli.md","Command line","Every whatfrees command, flag, default and exit code, with the output a scan prints and what each exit code means.",null,[],"i-lucide-terminal","article",true,1,"reference",{"nodes":18,"toc":447},[19,47,55,237,259,265,268,282,297,303,359,369,382,388,444],[20,21,24],"pre",{"language":22,"class":23,"wrap":14},"text","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[25,26,28,36,37,36,42],"code",{"class":27},"language-text",[29,30,33],"span",{"class":31,"style":32},"line","display: inline",[29,34,35],{},"whatfrees [options]       report what can go, biggest first","\n",[29,38,39],{"class":31,"style":32},[29,40,41],{},"whatfrees sources         list the sources",[29,43,44],{"class":31,"style":32},[29,45,46],{},"whatfrees check \u003Cpath>    re-check one path right before deleting it",[48,49,54],"h2",{"id":50,"anchor":51},"options",{"label":52,"icon":53},"Section titled \"Options\"","#","Options",[56,57,58,74],"table",{},[59,60,61],"thead",{},[62,63,64,68,71],"tr",{},[65,66,67],"th",{},"Flag",[65,69,70],{},"Default",[65,72,73],{},"Meaning",[75,76,77,91,109,128,154,167,182,194,210,225],"tbody",{},[62,78,79,85,88],{},[80,81,82],"td",{},[25,83,84],{},"--only \u003Cids>",[80,86,87],{},"all sources",[80,89,90],{},"Run only these sources, comma-separated. Repeatable. An unknown id is a usage error",[62,92,93,98,101],{},[80,94,95],{},[25,96,97],{},"--root \u003Cdir>",[80,99,100],{},"none",[80,102,103,104],{},"Also look in this folder. Repeatable. See ",[105,106,108],"a",{"href":107},"\u002Fguide\u002Fsources#agent-worktrees","Sources",[62,110,111,116,121],{},[80,112,113],{},[25,114,115],{},"--budget \u003Cs>",[80,117,118],{},[25,119,120],{},"5",[80,122,123,124,127],{},"Seconds for the whole scan. ",[25,125,126],{},"0"," asks owners and walks nothing",[62,129,130,135,140],{},[80,131,132],{},[25,133,134],{},"--min \u003Csize>",[80,136,137],{},[25,138,139],{},"50MB",[80,141,142,143,146,147,146,150,153],{},"Hide entries that free less. Takes ",[25,144,145],{},"200MB",", ",[25,148,149],{},"1.5G",[25,151,152],{},"200 MiB"," or plain bytes, in powers of 1024",[62,155,156,161,164],{},[80,157,158],{},[25,159,160],{},"--exact",[80,162,163],{},"off",[80,165,166],{},"Walk every tree to the end, whatever the budget. Skips the size cache",[62,168,169,174,176],{},[80,170,171],{},[25,172,173],{},"--all",[80,175,163],{},[80,177,178,179],{},"Also show entries that are in use or under ",[25,180,181],{},"--min",[62,183,184,189,191],{},[80,185,186],{},[25,187,188],{},"--no-cache",[80,190,163],{},[80,192,193],{},"Don't read or write the size cache",[62,195,196,201,203],{},[80,197,198],{},[25,199,200],{},"--json",[80,202,163],{},[80,204,205,206,209],{},"Print the ",[25,207,208],{},"whatfrees\u002Freport@1"," document",[62,211,212,220,222],{},[80,213,214,146,217],{},[25,215,216],{},"--help",[25,218,219],{},"-h",[80,221],{},[80,223,224],{},"Print the usage",[62,226,227,232,234],{},[80,228,229],{},[25,230,231],{},"--version",[80,233],{},[80,235,236],{},"Print the version. It answers before anything else loads",[238,239,240,244,245,146,248,146,251,254,255,258],"p",{},[105,241,243],{"href":242},"https:\u002F\u002Freaderly.loadsheet.dev","readerly"," shapes the output and reads its own flags too, such as ",[25,246,247],{},"--format",[25,249,250],{},"--full",[25,252,253],{},"--max-chars"," and ",[25,256,257],{},"--color",".",[48,260,264],{"id":261,"anchor":262},"output",{"label":263,"icon":53},"Section titled \"Output\"","Output",[238,266,267],{},"The first line says how the run went and how long it took. The second gives the totals and the free space.",[20,269,270],{"language":22,"class":23,"wrap":14},[25,271,272,36,277],{"class":27},[29,273,274],{"class":31,"style":32},[29,275,276],{},"whatfrees: ok. no problems in 3 entries (0.1 s).",[29,278,279],{"class":31,"style":32},[29,280,281],{},"Frees 20 MB safe, 29 MB orphan, 4.8 MB ask. \u002F has 180 GB free of 916 GB.",[238,283,284,285,288,289,292,293,296],{},"Then one line per entry: the size, the verdict, what it is, why, and the command. A ",[25,286,287],{},"Partial:"," line appears when sizes are lower bounds or missing, and a ",[25,290,291],{},"skipped:"," line for each source with no answer. Last come the ",[25,294,295],{},"next:"," lines.",[48,298,302],{"id":299,"anchor":300},"exit-codes",{"label":301,"icon":53},"Section titled \"Exit codes\"","Exit codes",[56,304,305,314],{},[59,306,307],{},[62,308,309,312],{},[65,310,311],{},"Code",[65,313,73],{},[75,315,316,334,345],{},[62,317,318,320],{},[80,319,126],{},[80,321,322,323,326,327,330,331],{},"The run finished. For ",[25,324,325],{},"check",", the path is ",[25,328,329],{},"safe"," or ",[25,332,333],{},"orphan",[62,335,336,339],{},[80,337,338],{},"1",[80,340,341,342,344],{},"The run failed. For ",[25,343,325],{},", the path is anything else, or doesn't exist",[62,346,347,350],{},[80,348,349],{},"2",[80,351,352,353,330,355,358],{},"Usage error: an unknown flag, a bad ",[25,354,181],{},[25,356,357],{},"--budget",", an unknown source id, or a wrong number of arguments",[238,360,361,362,254,365,368],{},"A finished scan exits with 0 even when it found nothing, or when it is partial. Read ",[25,363,364],{},"partial",[25,366,367],{},"skipped"," for that.",[238,370,371,372,374,375,377,378,258],{},"For ",[25,373,325],{},", exit code 0 alone does not clear a path for automatic deletion. An ",[25,376,333],{}," still needs manual review. See ",[105,379,381],{"href":380},"\u002Fguide\u002Fcheck","whatfrees check",[48,383,387],{"id":384,"anchor":385},"environment",{"label":386,"icon":53},"Section titled \"Environment\"","Environment",[56,389,390,400],{},[59,391,392],{},[62,393,394,397],{},[65,395,396],{},"Variable",[65,398,399],{},"Effect",[75,401,402,416,430],{},[62,403,404,409],{},[80,405,406],{},[25,407,408],{},"XDG_CACHE_HOME",[80,410,411,412],{},"Where the size cache goes. See ",[105,413,415],{"href":414},"\u002Fguide\u002Finstallation#where-the-size-cache-goes","Installation",[62,417,418,423],{},[80,419,420],{},[25,421,422],{},"CODEX_HOME",[80,424,425,426,429],{},"Where whatfrees looks for Codex's ",[25,427,428],{},"worktrees"," folder",[62,431,432,437],{},[80,433,434],{},[25,435,436],{},"CLAUDE_CONFIG_DIR",[80,438,439,440,443],{},"Where whatfrees reads ",[25,441,442],{},".claude.json"," to find Claude Code's projects",[238,445,446],{},"whatfrees runs on Linux and macOS. On any other platform it stops with an error.",[448,450,451,452],{"id":50,"depth":449,"text":54},2,{"id":261,"depth":449,"text":264},{"id":299,"depth":449,"text":302},{"id":384,"depth":449,"text":387},{"path":454,"title":455,"description":456},"\u002Freference\u002Freport","JSON report","The whatfrees\u002Freport@1 document that whatfrees --json prints, field by field.",1796464608844,"84b4d453-0d43-4339-8103-d1d78e551efe"]