omd-update
Update oh-my-design
Update only the OmD installation the user already has. Preserve its project/global scope, installed channels, Cursor compatibility mode, DESIGN.md, references added by the user, and every file outside OmD ownership.
Workflow
-
Run from the intended project root unless the user explicitly requests the global installation.
-
Use the latest package as the executor:
npx oh-my-design-cli@latest updateFor a global installation, append
--global. For another project root, append--dir <path>. -
Never add
--force. The update command detects installed channels, preserves the existing scope, refreshes managed files, and runs the equivalent of a post-update doctor check. -
If the command reports a protected local difference, stop. Show the exact scoped repair command or manual action it prints; do not overwrite the file on the user's behalf.
-
Report the before/after state, preserved scope and channels, and any skipped drift. Do not claim success if the exit code is non-zero.
-
Tell the user to restart the coding agent, then run: