# 5050 service

> Switch the linked service or change a service.

Switch the linked service or change a service.

## Usage

```sh
5050 service [NAME]
5050 service list
5050 service status [--all]
5050 service scale N
5050 service source connect --repo owner/name | --image IMAGE
5050 service source disconnect
5050 service rename NAME
```

## Flags

| Flag | Meaning |
|---|---|
| `--all` | With `status`: every service in the environment |
| `--repo owner/name` | With `source connect`: a GitHub repository |
| `--branch` | With `--repo`: the branch |
| `--image IMAGE` | With `source connect`: a Docker image |

## Railway equivalent

`railway service` 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).
