> ## 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
Zainstalowane:
  core 0.11.1
  uploads 0.2.6
Dostępne:
  api-keys 0.1.1 — Klucze API organizacji: model ApiKey, sekret z pepperem i zakresy
  audit-logs 0.1.2 — Dziennik zdarzeń organizacji: model AuditLog, sink i redakcja danych wrażliwych
Projektu:
  notes — Notatki projektu
```

The headings and module descriptions are in Polish:

| Section | Meaning |
| - | - |
| `Zainstalowane:` | **Installed.** Kit modules from `.wa/kit.json` with the version the project has, `core` first, the rest alphabetically. |
| `Dostępne:` | **Available.** Modules from the kit manifests at the project's version that the project does not have, alphabetically, with their description and `(wymaga: …)` ("requires") when they declare `requires`. `Dostępne: brak` means none are left. |
| `Projektu:` | **Project 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
Zainstalowane:
  core 0.11.1
  uploads 0.2.6
Dostępne: nie udało się pobrać kitu (Brak kit/kit.json w /missing — to nie jest repozytorium wa-kit)
```

The line means "available: could not fetch the kit (reason)". 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.