Browse docs

← All docs

docs / initialize-repo.md

Initialize a repository

From inside a project you have connected, run:

bash
cd my-project
cix init

cix init links the local repository to its cix cloud project so your assistant's queries resolve against the right index. Run it once per project.

It is safe to run again — re-running cix init re-checks the connection without harming anything.

After init

Your assistant can now understand this project. Confirm everything is healthy:

bash
$ cix doctor

cix doctor verifies login, the GitHub connection, the project link, and the state of the index. If it flags a problem, follow the action it suggests or see Troubleshooting.

Next: first steps.