Skip to content
Kitsy Docs Open CNOS

cnos init

cnos init

Use regular mode first:

Terminal window
cnos init

That creates a flat .cnos/ tree with profiles.default: local.

Create workspace mode explicitly:

Terminal window
cnos init --mode workspace

That creates:

  • .cnos/workspaces/base
  • .cnosrc.yml pointing to ./.cnos
  • .cnos-workspace.yml with workspace: base

Create child workspaces during init:

Terminal window
cnos init --mode workspace --workspaces api,web,agents

This creates base plus api, web, and agents, with each child extending base.

Notes

  • base is the default shared workspace convention.
  • local is the default profile.
  • If you already started in regular mode and later need multiple apps, use cnos workspace enable instead of reinitializing the repo.