Create an Environment

Create environments (collections) in Bluebricks using the CLI.

For the conceptual overview of collections and what they contain, see Collectionsarrow-up-right. For creating environments through the web UI and understanding the full lifecycle, see Creating Environmentsarrow-up-right. You can also manage environments directly in the Bluebricks apparrow-up-right.

Prerequisites

  • Bluebricks CLI installed

  • Authenticated with Bluebricks (bricks login)

Create an Environment

# Create environment with name
bricks collection create --name "production"

# Create environment and set as default
bricks collection create --name "development" --default

Naming Conventions

  • Use clear, descriptive names: production, staging, development

  • Include team or project context when needed: team-alpha-production

  • Use consistent patterns: {project}-{environment}

Manage Environments

Deploy to an Environment

See also

Last updated

Was this helpful?