Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.compartment.dev/llms.txt

Use this file to discover all available pages before exploring further.

compartment project is a subcommand group for managing projects in your Compartment organization. A project is the top-level container for your services, environments, and deployments. You can list all projects, inspect a specific one, rename it, archive it when it is no longer active, or permanently delete it when you no longer need it.

Subcommands

List all active projects in the current organization. Pass --all to include archived projects in the output.
compartment project list [options]

Options

FlagTypeDefaultDescription
--allbooleanInclude archived projects in the listing. Without this flag, only active projects are shown.
--output <format>text | jsontextOutput format.

Examples

List active projects
compartment project list
List all projects including archived ones
compartment project list --all
compartment project delete permanently deletes the project and all of its data. Consider using compartment project archive instead if you want to retain history. Deletion cannot be undone.