HubDocs

CLI reference / hub app <name>

hub app <name> instance

Manage the instances of the app.

Usage

hub app <name> instance [options] [command]

Arguments

ArgumentDescription
<name>The app, or app/instance for an instance other than prod, such as my-app/staging.

hub app <name> instance create

Create another instance of the app.

Usage

hub app <name> instance create [options] <instance>

Arguments

ArgumentDescription
<instance>Instance name, such as staging.

Examples

# Create my-app/staging
hub app my-app instance create staging

# Deploy to it
hub deploy --name my-app --instance staging

# Any app command works on an instance
hub app my-app/staging logs

On this page