---
# Generated by kapten-docs from the CLI's command tree. DO NOT EDIT.
title: "kapten components"
description: "List the components of an environment."
sidebar:
  label: "components"
---

Every command takes the [global flags](/cli/reference#global-flags).

## kapten components list

Returns the applications, jobs and databases of an environment, a page at a time.

```bash
kapten components list <project-id> <environment-id> [flags]
```

| Argument | Description |
| --- | --- |
| `project-id` | The unique identifier for the project |
| `environment-id` | The unique identifier of the environment |

| Flag | Description |
| --- | --- |
| `--component-kind string` | Optional component kind filter |
| `--filter-with-deleted` | Include deleted instances (default: false) |
| `--page-limit int` | Maximum number of records to return (default: 10) |
| `--page-number int` | Page number (default: 1) |

Example:

```bash
kapten components list <project-id> <environment-id>
```
