install
Set up a project and its coding agents for dojofoo.
npx dojofoo install [--claude] [--opencode] [--codex] [--gemini] [--pi]Run it once in the folder you open in your agent. setup is an alias.
Options
| Option | Description |
|---|---|
--claude | Set up Claude Code |
--opencode | Set up OpenCode |
--codex | Set up Codex |
--gemini | Set up Gemini CLI |
--pi | Set up Pi |
--agent <a,b> | The same, as a list: --agent claude,codex |
--skills | Only refresh the dojofoo skill for the agents already set up |
Without an option, install detects the agent it runs in. Outside an agent it asks, offering
OpenCode, Codex and Pi.
Examples
npx dojofoo install # detect, or ask
npx dojofoo install --claude # choose
npx dojofoo install --agent opencode,pi # several at onceWhat it does
- Adds mise for your user when it's missing (not with
--skills). - Creates
.dojo/config.yamland thecourses/folder. - Writes the deprecated
/kataand/dojocommands to.agents/commands/and links them into each agent's folder, e.g..claude/commands/. - Writes the dojofoo skill to
.agents/skills/dojofoo/SKILL.md. - For Claude Code, writes
.claude/settings.jsonso the agent may runnpx dojofoowithout asking.
It's safe to run again, e.g. to add another agent. Commands you've edited in .agents/commands/
are kept; the skill is refreshed.
With --claude, install replaces .claude/settings.json. Back it up first if you've
customized it.