# 5050 run

> Run a local command with the service's resolved variables.

Run a local command with the service's resolved variables.

## Usage

```sh
5050 run -- CMD [ARGS...]
```

## Details

- Useful for migrations and scripts on your laptop. Private `.internal` hosts are not reachable from your laptop; use `5050 connect` for databases.
- Sealed variables are not included.

## Examples

```sh
5050 run -- npm run migrate
```

## Railway equivalent

`railway run` works the same way through the [railway alias](https://5050cloud.com/docs/cli/railway-alias).

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