Use the ably apps command group to manage your Ably applications. These commands enable you to create, update, delete, list, and switch between apps, as well as manage channel rules for your apps.
App management commands
Use the following commands to create, list, update, delete, and switch between Ably apps. Each app is a sandboxed environment isolated from other apps in your account:
| Command | Description |
|---|---|
ably apps create | Create a new Ably application. |
ably apps current | Show the currently selected app. |
ably apps delete | Permanently delete an Ably application. |
ably apps list | List all apps in the current account. |
ably apps switch | Switch to a different Ably app. |
ably apps update | Update an app's configuration. |
Rule management commands
Use the following commands to manage channel rules (namespaces) for your Ably applications. Channel rules enable you to configure behavior such as message persistence, TLS-only access, and push notification settings for channels matching a specific namespace:
| Command | Description |
|---|---|
ably apps rules create | Create a channel rule for an app. |
ably apps rules delete | Delete a channel rule from an app. |
ably apps rules list | List channel rules for an app. |
ably apps rules update | Update a channel rule for an app. |
See also
- CLI reference — Full list of available commands.