> ## Documentation Index
> Fetch the complete documentation index at: https://tfts.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# tfts list

> List all stacks

List all stacks defined in your tfts application.

## Usage

```bash theme={null}
npx tfts list [options]
```

## Aliases

* `ls`

## Description

The `list` command synthesizes your configuration and displays all stacks defined in the application.

## Options

| Option        | Type    | Description                 | Default         |
| ------------- | ------- | --------------------------- | --------------- |
| `--app`       | string  | Command to run the tfts app | From cdktf.json |
| `--output`    | string  | Output directory            | `cdktf.out`     |
| `--skipSynth` | boolean | Skip synthesis step         | `false`         |

## Examples

### Basic Usage

```bash theme={null}
npx tfts list
```

### Using Alias

```bash theme={null}
npx tfts ls
```

### Skip Synthesis

```bash theme={null}
npx tfts list --skipSynth
```

## Output

```
Stack name: production
Stack name: staging
Stack name: development
```

## Multi-Stack Applications

When you have multiple stacks:

```typescript theme={null}
const app = new App();
new ProductionStack(app, "production");
new StagingStack(app, "staging");
new DevelopmentStack(app, "development");
app.synth();
```

The `list` command helps you see all available stacks before targeting specific ones with other commands:

```bash theme={null}
npx tfts list
npx tfts deploy production
```
