Skip to content

plugin cache list

List every package version held in the shared plugin cache (~/.nschema/plugins), with the size each takes on disk. Unlike plugin list, which is scoped to the current project, this shows the whole machine-wide cache.

Terminal window
nschema plugin cache list
Plugin cache: /home/you/.nschema/plugins
╭──────────────────┬─────────┬─────────╮
│ Package │ Version │ Size │
├──────────────────┼─────────┼─────────┤
│ NSchema.Postgres │ 4.0.0 │ 9.0 MiB │
╰──────────────────┴─────────┴─────────╯
1 cached, 9.0 MiB total. Remove with: nschema plugin cache remove <package> [version]
  • --json — emit the cache contents as a structured object:

    { "cacheRoot": "/home/you/.nschema/plugins", "plugins": [{ "packageId": "NSchema.Postgres", "version": "4.0.0", "path": "/home/you/.nschema/plugins/NSchema.Postgres/4.0.0", "sizeBytes": 9437184 }] }

Nothing — the cache is local to your machine and project-independent, so this command reads no project config and contacts no infrastructure.