---
title: "ezgh fleets scripts get"
description: "Show a script and one version's body and parameters."
---

> 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 fleets scripts get

{/* 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 fleets scripts get <script> [--version n] [flags]
```

Show a script by ID, slug (scr\_…) or name, with its latest version's body and parameters (`--version` for another).

Part of [`ezgh fleets scripts`](/cli/reference/fleets-scripts).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--version` | int |  | the version to show (default: the latest) |

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

Source: https://docs.ezghcloud.com/cli/reference/fleets-scripts-get/index.mdx
