> Markdown version of https://tuna.am/en/docs/cli/tunnel/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna tunnel

Manage your tunnels.

Manage running and recent tunnels of your team.

In an interactive terminal opens a TUI with live tunnel status, where a tunnel can be stopped. Otherwise prints this help: use the subcommands below.

Usage

```bash
tuna tunnel [flags]

```

| Flag               | Description                                |
| ------------------ | ------------------------------------------ |
| `--api-key string` | Your tuna.am api key (env `TUNA_API_KEY`). |

## Subcommands

| Command                         | Description                                 |
| ------------------------------- | ------------------------------------------- |
| [`tuna tunnel clear`](#clear)   | Delete all the tunnels.                     |
| [`tuna tunnel delete`](#delete) | Stop and delete a tunnel by its public URL. |
| [`tuna tunnel list`](#list)     | List all the tunnels.                       |

## tuna tunnel clear

Delete all the tunnels.

Usage

```bash
tuna tunnel clear [flags]

```

| Flag        | Description                   |
| ----------- | ----------------------------- |
| `-y, --yes` | Skip the confirmation prompt. |

Also accepts the flags of `tuna tunnel`.

## tuna tunnel delete

Stop and delete a tunnel by its public URL.

Alias: `stop`.

Usage

```bash
tuna tunnel delete URL [flags]

```

| Flag        | Description                   |
| ----------- | ----------------------------- |
| `-y, --yes` | Skip the confirmation prompt. |

Also accepts the flags of `tuna tunnel`.

## tuna tunnel list

List all the tunnels.

Alias: `ls`.

Usage

```bash
tuna tunnel list [flags]

```

| Flag     | Description            |
| -------- | ---------------------- |
| `--json` | Output in JSON format. |

Also accepts the flags of `tuna tunnel`.

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.
