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

# stackshift exec

> Run a one-off command in a project

<Note>
  This page is generated from the StackShift CLI command definitions.
</Note>

Run a one-off command in a project

```
stackshift exec PROJECT -- COMMAND [ARG...] [flags]
```

### Options

```
      --command-timeout int   remote timeout in seconds (default 600)
  -h, --help                  help for exec
      --reason string         production operation reason
      --shell                 interpret the command using a shell
```

### Options inherited from parent commands

```
      --api-url string       StackShift API URL
      --app string           application name or ID
      --color string         color output: auto, always, or never (default "auto")
      --debug                show request diagnostics
      --environment string   project environment
  -o, --output string        output format: table, json, yaml, or name (default "table")
      --profile string       configuration profile
      --project string       project name or ID
  -q, --quiet                suppress progress output
      --timeout duration     request timeout (default 30s)
      --token-file string    mode-0600 token file
      --token-stdin          read a CI token from stdin
  -y, --yes                  confirm risky operations
```

### SEE ALSO

* [stackshift](/cli-reference/stackshift)	 - Manage StackShift from the command line
