# service (/docs/cli/service) > For the complete Prisma documentation index, see [llms.txt](https://www.prisma.io/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL. Manage Compute services, their versions, logs, and custom domains. Location: CLI > service Use `service` commands to manage the services in a project. A deploy produces a **version** of a service; one version is live at a time. Deploys start from [`deploy`](https://www.prisma.io/docs/cli/deploy) for a Composer app, from a git push once you [set up deploy on push](https://www.prisma.io/docs/compute/deploy-on-push), or from the [Console](https://pris.ly/pdp). The commands below inspect and manage services and the versions that already exist. Commands are targeted by parameters, not by ambient state. A command that acts on a service takes the service as its first positional argument (`service show `); the CLI does not read a service from the environment. Scope with `--branch ` and `--project `. There is no interactive picker: a missing target fails with a structured `SERVICE.TARGET_REQUIRED` error (exit 2) before any network call, even in an interactive terminal. Commands targeted by a globally unique version id (`service version promote|start|stop|delete `) need no other context. ## Usage [#usage] #### bun ```bash bunx prisma service list bunx prisma service show my-service ``` #### pnpm ```bash pnpm prisma service list pnpm prisma service show my-service ``` #### yarn ```bash yarn prisma service list yarn prisma service show my-service ``` #### npm ```bash npx prisma service list npx prisma service show my-service ``` ## Commands [#commands] | Command | Description | | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `service list` | List the services in a project (`--branch` scopes it) | | `service create ` | Create a service (`--region`, `--branch`) | | `service show ` | Show the service and its live version | | `service open ` | Open the service's live URL | | `service logs ` | Read logs for a version of the service. Defaults to the live version (`--version-id ` selects another). `--tail ` sets the line count (default 100), `--from-start` reads from the beginning, and `--follow` keeps polling | | `service delete ` | Permanently delete the service from the branch you target, after confirmation | ## service version [#service-version] Use `service version` commands to manage the versions of a service. Versions are created by deploys; these commands operate on the versions that already exist. | Command | Description | | -------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | `service version list ` | List versions of the service | | `service version show ` | Show a version in detail | | `service version promote ` | Promote a version to production by rebuilding with production env vars | | `service version rollback ` | Roll back production to a previous version (`--to `; defaults to the one before the live version) | | `service version start ` | Start a stopped version | | `service version stop ` | Stop a running version | | `service version delete ` | Permanently delete a version and the artifact it holds | Promotion rebuilds the version with production environment variables, so configuration changes take effect on promote. Rollback switches production back to an existing version. See [Deployments](https://www.prisma.io/docs/compute/deployments). ## service domain [#service-domain] Use `service domain` commands to manage custom domains for a service. All commands take a `` argument plus the usual service and project selectors and a `--branch ` scope. Domains target the production branch by default. See [Domains](https://www.prisma.io/docs/compute/domains) for details. | Command | Description | | ---------------------------------- | ------------------------------------------------------------------------------------ | | `service domain add ` | Register a custom domain on the service's production branch | | `service domain show ` | Show custom domain status and certificate details | | `service domain wait ` | Wait until a custom domain is active or failed (`--timeout `, default 15m) | | `service domain retry ` | Retry custom domain DNS verification and TLS provisioning | | `service domain delete ` | Permanently delete a custom domain from the service | ## Related pages - [`auth`](https://www.prisma.io/docs/cli/auth): Sign in to your Prisma account from the CLI, sign out, and manage workspace sessions. - [`branch`](https://www.prisma.io/docs/cli/branch): List platform branches for a project. - [`bucket`](https://www.prisma.io/docs/cli/bucket): Create and manage object-store buckets. - [`Configuration`](https://www.prisma.io/docs/cli/configuration): Configure Prisma ORM CLI commands with prisma.config.ts and global flags. - [`contract emit`](https://www.prisma.io/docs/cli/contract-emit): Emit Prisma ORM contract artifacts.