Skip to content

context init

The init command creates the directory structure and configuration files for a new ContextKit project.

Terminal window
context init
OptionDescriptionDefault
--dir <path>Root directory for the project. (current directory)
Terminal window
context init
Terminal window
context init --dir my-project
context/
├── models/ # OSI semantic model files
├── governance/ # Ownership, trust, security, semantic roles
├── glossary/ # Business term definitions
└── owners/ # Team ownership records
contextkit.config.yaml # Project configuration

Use init when you want to create the project structure manually before connecting to a database. For a fully guided experience that also introspects your database and scaffolds metadata, use context setup instead.