pier_
Reference

pier rm

Remove a resource

pier rm <command>

Remove a resource.

Subcommands

pier rm app

pier rm app [<app>] [flags]

Remove an app.

ArgumentRequiredDescription
<app>noApp name, slug, or ID
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm site

pier rm site [<site>] [flags]

Remove a site.

ArgumentRequiredDescription
<site>noSite name or slug
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm pg

pier rm pg [<postgres>] [flags]

Remove a Postgres instance.

ArgumentRequiredDescription
<postgres>noPostgres name or slug
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm bucket

pier rm bucket [<bucket>] [flags]

Remove a bucket.

ArgumentRequiredDescription
<bucket>noBucket name or slug
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm volume

pier rm volume [<volume>] [flags]

Remove a volume.

ArgumentRequiredDescription
<volume>noVolume name, slug, or ID
FlagValueDefaultDescription
-y, --yesSkip confirmation
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm domain

pier rm domain [<domain>] [flags]

Remove a custom domain.

ArgumentRequiredDescription
<domain>noDomain to delete (interactive if omitted)
FlagValueDefaultDescription
-a, --appSTRINGApp ref narrowing the --stage selection (slug or slug/target)
-s, --siteSTRINGSite ref narrowing the --stage selection (slug or slug/target)
-y, --yesSkip confirmation
--stageWrite the change to pier.yaml only — apply later with 'pier deploy'

pier rm target

pier rm target <ref> [flags]

Remove a deployment target from an app or site.

ArgumentRequiredDescription
<ref>yesTarget to remove (name/target of an app or site, e.g. web/feat-x)
FlagValueDefaultDescription
-y, --yesSkip confirmation prompt

Global flags apply to every command.

On this page