# atmos stack get

Read the effective value of a component-relative dot-path for a component in a stack,
and see which manifest file currently defines it.

:::note Deprecated alias
Use `atmos stack config get`. This hidden alias retains its existing configuration-editing behavior until a breaking release.
:::

:::info
`atmos stack get` is an alias for [`atmos stack config get`](/cli/commands/stack/config/get), the canonical form.
:::

## Usage

```shell
atmos stack get <path> -s <stack> -c <component>
```

## Examples

```shell
atmos stack get vars.region -s plat-ue2-prod -c vpc
atmos stack get settings.spacelift.workspace_enabled -s plat-ue2-prod -c vpc
```

## Arguments

- **`<path>` (required)** — Component-relative dot-notation path (e.g. `vars.region`).

## Flags

- **`--format` / `-f` (string)** — Output format: `raw` (default) or `json`. JSON preserves scalar and collection types, including quoted strings that look like booleans or numbers. Environment variable: `ATMOS_STACK_GET_FORMAT`. The flag overrides the variable.
- **`--stack` / `-s` (string, required)** — The stack name.
- **`--component` / `-c` (string, required)** — The component name.
- **`--file` (string)** — Read the value from this manifest file when the YAML path exists. If the path is missing, keep the available value from the merged stack configuration. Provenance is not shown. A file that cannot be read is an error.
