Home DX Commands
On this page 2
Home should feel like one coherent toolchain. These commands are the stable front doors for everyday development.
Daily Loop
home dev
home fix src/
home test
home check src/
home symbols src/
home docs src --out docs/API.md
home explain T0001
home size zig-out
-
home devruns thedevscript fromhome.tomlwhen present, otherwise itwatches
src/main.homeorsrc/main.hm. -
home fix [path]recursively finds.homeand.hmfiles, then runs theformatter and safe auto-fixes.
-
home lspprints the language-server capabilities. -
home lsp --stdiois the stable editor entrypoint and speaks JSON-RPC overstdio for initialization, completion, hover, symbols, formatting, and related requests.
-
home symbols [path]lists public declarations found in.homeand.hmfiles.
-
home docs [path] --out docs/API.mdgenerates Markdown API docs from Homedeclaration metadata.
-
home explain <code>explains diagnostic codes and usual fixes. -
home api-diff <old.d.hm> <new.d.hm>compares generated declaration filesfor public API additions/removals.
-
home size [path]reports package/build output sizes while skipping commondependency caches.
Package And Toolchain
Home package commands intentionally reuse Pantry for package and toolchain work instead of growing a separate ecosystem manager.
home pkg tools
home pkg search http
home pkg info zig
home pkg audit
home pkg dedupe
home pkg tree
home pkg why <package>
home pkg outdated
home pkg declarations
home pkg declarations --check
home pkg docs
home pkg api-diff old.d.hm new.d.hm
Commands that need Pantry delegate to the pantry binary. Local fallback output
exists for tree, why, and outdated so projects still get useful feedback.