> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gatojs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gato list

> List the kit modules installed in a GatoJS project, the modules available at the project's kit version, and the project's own modules.

```bash theme={null}
gato list [--kit <source>]
```

`gato list` prints three sections: kit modules installed in the project, kit modules available at the project's kit version that the project does not have, and project modules.

**--kit** `path | url`

Where to read the kit from. Default: `GATO_KIT_SOURCE`, then `kitRepo` at tag `v<kitVersion>`. See [Kit source](https://docs.gatojs.com/cli/kit-source.md).

## Output

```text theme={null}
$ npx gato list
Installed:
  core 0.11.1
  uploads 0.2.6
Available:
  api-keys 0.1.1 — Organization API keys: ApiKey model, peppered secret and scopes
  audit-logs 0.1.2 — Organization audit log: AuditLog model, sink and redaction of sensitive data
Project modules:
  notes — Project notes
```

| Section | Meaning |
| - | - |
| `Installed:` | Kit modules from `.wa/kit.json` with the version the project has, `core` first, the rest alphabetically. |
| `Available:` | Modules from the kit manifests at the project's version that the project does not have, alphabetically, with their description and `(requires: …)` when they declare `requires`. `Available: none` means none are left. |
| `Project modules:` | Modules from `projectModules`, with their description. Shown only when the project has any. |

Versions in the installed section come from the project, not the kit. The example shows a project on kit 0.8.1.

## When the kit cannot be fetched

If the kit source cannot be used (wrong path, rejected source, failed clone, version mismatch), the "available" list is replaced by one line on stdout and the command still exits with `0`, because it did print the project's state:

```text theme={null}
$ npx gato list --kit /missing
Installed:
  core 0.11.1
  uploads 0.2.6
Available: could not fetch the kit (No kit/kit.json in /missing — this is not a GatoJS repository)
```

In a script, check for this line rather than the exit code. Errors before the kit is fetched (bad options, a missing or invalid `.wa/kit.json`) still exit with `1`.

The installed and project sections need no network, so `gato list` is also a quick offline way to see what a project contains.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.