---
title: "ezgh deploy deployments list"
description: "List an environment's deployments, newest first."
---

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

# ezgh deploy deployments list

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh deploy deployments list [flags]
```

Part of [`ezgh deploy deployments`](/cli/reference/deploy-deployments).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `20` | items per page, 1 to 100 |

Inherited from parent commands:

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--dir` | string | `.` | the repository's checkout (any directory inside it) |
| `--environment` | string |  | the environment, by ID (den\_…) or name (default: the stack's environment for the checked-out branch) |
| `--json` | boolean |  | print JSON, as -o json does |
| `--stack` | string |  | the stack, by ID (dps\_…) or name (default: the checkout's EZGHDeploy name) |

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

Source: https://docs.ezghcloud.com/cli/reference/deploy-deployments-list/index.mdx
