# 5050 config

> Export an environment's services and settings to a file.

Export an environment's services and settings to a file.

## Usage

```sh
5050 config pull [--file PATH]
```

## Flags

| Flag | Meaning |
|---|---|
| `--file PATH` | Where to write (default `5050.yaml`; `-` for standard output) |

## Details

- The file uses the [config file schema](https://5050cloud.com/docs/reference/config-file). Variables are listed by name; values are not written.

## Railway equivalent

Railway has no direct equivalent; its `config` style sync is planned for a later 5050cloud release.

Every command also accepts the [global options](https://5050cloud.com/docs/cli/global-options).
