Commands
spmx store
Inspect and manage the global store and the compilation cache.
spmx store path
spmx store status # default subcommand
spmx store prune [--dry-run] [--older-than <days>]store path
Prints the absolute path of the store (~/.spmx/store, or SPMX_STORE_DIR).
store status
Lists checkouts, artifacts and prebuilts (prebuilts grouped by toolchain), the logical store size, the compilation cache location and size, how many projects are registered, and an estimate of the space copy-on-write saves.
Global Store Status
Store path: ~/.spmx/store
Checkouts: 1 (1.9 MB)
Artifacts: 0 (Zero bytes)
Prebuilts: 0 (Zero bytes)
Logical store size: 1.9 MB
Compilation cache: ~/.spmx/compilation-cache (Zero bytes)
Registered projects: 2 total (2 active, 0 missing on disk)
Est. CoW savings: 3.8 MBstore prune
Drops registered projects whose folders no longer exist, deletes packages no active project references, and trims old compilation-cache files.
| Option | Description |
|---|---|
--dry-run | show what would be removed without deleting |
--older-than <days> | only remove unreferenced entries and cache files older than this. Default 30 |
spmx store prune --dry-run
spmx store prune --older-than 7