Project config files

What Tegment stores in your repo's .tegment/ folder — and what it doesn't.

Last updated Jun 06, 2026

Tegment keeps a small amount of shared, per-project configuration in a .tegment/ folder inside the repository. These files are meant to be committed, so everyone who opens the project in Tegment gets the same setup. Everything else — your account, theme, keyboard shortcuts, and your GitHub/Jira credentials — is stored privately on your machine, not here.

You set all of this up through Tegment's UI — this page documents the on-disk format so you can review or version-control it, not because you have to edit it by hand. The folder is created the first time you save one of these configs; an empty repo won't have a .tegment/ until then.

.tegment/config.json#

Holds the commands tied to a project. See Quick actions for the full field reference.

KeyDescription
postCreationCommandsCommands run automatically, in order, after a worktree is created.
templatesReusable commands you launch on demand in a worktree.
.tegment/config.jsonjson
{
  "postCreationCommands": [
    { "name": "Install", "command": "npm install", "continueOnError": false, "order": 0 }
  ],
  "templates": [
    { "name": "Dev server", "command": "npm run dev", "runMode": "visible", "order": 0 }
  ]
}

.tegment/launch.config#

Holds your build & run configs.

KeyDescription
buildRunConfigsHow to build and start the app, used by the runner and over MCP.
.tegment/launch.configjson
{
  "buildRunConfigs": [
    { "id": "web", "name": "Web app", "runCommand": "npm run dev", "order": 0 }
  ]
}

What lives outside .tegment/#

These are not in the repo — they're app settings on your machine, set through the UI: