On this page

Getting started

The CoCoCo developer CLI manages your platform setup from .cococo files. Use it to keep configuration for apps, devices, policies and other resources together and review changes before applying them.

Install the developer CLI if you have not already done so.

Connect your workspace

Set up a workspace for your environment. Replace the address and directory with your own:

Terminal
cococo workspace setup --environment staging --address https://staging.example ~/infra

If setup asks you to sign in, run:

Terminal
cococo login --environment staging

Your workspace contains a checkout for each stack. Open the stack you want to work on before editing its configuration.

Choose a resource

Browse the resource reference to find what you want to manage. Each page lists the fields you can configure separately from the values the platform supplies.

Give each resource block a local name. Refer to another resource's values using its type, local name and field. The CLI uses those references to order dependent changes.

Learn about resources and models, then check and apply your changes.