Skip to content

plugin list

List the plugins your project uses, with the package, the locked version, and whether each is currently restored in the cache.

Terminal window
nschema plugin list
╭──────────┬──────────┬──────────────────┬───────────────┬──────────╮
│ Role │ Plugin │ Package │ Version │ Restored │
├──────────┼──────────┼──────────────────┼───────────────┼──────────┤
│ database │ postgres │ NSchema.Postgres │ 5.0.0 │ yes │
│ state │ s3 │ NSchema.Aws │ 5.0.0 │ no │
╰──────────┴──────────┴──────────────────┴───────────────┴──────────╯

The version shown is the one pinned in the lockfile. A plugin shown as not restored is fetched on its next use, or up front with init.

  • This command is environment-aware, so if you’re not seeing what you expect, you might be missing an --environment arg.
  • The built-in file state store is not a plugin, so it never appears here.
  • --json — emit the list as a structured array instead of a table, for scripting:

    [{ "role": "database", "label": "postgres", "packageId": "NSchema.Postgres", "version": "5.0.0", "restored": true, "cachePath": "/home/you/.nschema/plugins/NSchema.Postgres/5.0.0" }]