sdods upgrade
Upgrade the SDODS CLI the way it was installed, the project's @sdods/* packages, and the skills and plugins SDODS set up.
sdods upgrade [--apply] [--force] [--no-refresh] [--pm bun|pnpm|npm] [--json]Without --apply it only reports: the running CLI with how it was installed, the installed and
latest versions, and the @sdods/* packages the project depends on. Nothing is written.
sdods upgradesdods upgrade --applyWhat --apply does
-
Upgrades the CLI the way it was installed, when npm has a newer version:
Installed with --applyrunsHomebrew brew upgrade sdodsnpm install -g, or the install scriptnpm install -g @sdods/cli@latestbun add -gbun add -g @sdods/cli@latestpnpm add -gpnpm add -g @sdods/cli@latestthe project's own node_modulesthe project step below the install script with --source gitnothing; it prints the install command, which updates its checkout in place npx -y @sdods/clinothing; npx fetches the package on each run ( npx -y @sdods/cli@latest)a clone of the repository nothing; git pull, then install -
Upgrades the project's
@sdods/*packages withbun add,pnpm addornpm install. The manager comes from the lockfile unless--pmis given. -
Refreshes what SDODS set up, with the new version, by re-running the upgraded
sdods:- the bundled skills, in every folder that already holds them, in the project (
.claude/skills,.agents/skills,.github/skills…) and in your home directory (~/.claude/skills,~/.copilot/skills…). New skills arrive this way; no folder gets skills it did not have. - the SDODS plugin in Claude Code (
claude plugin update sdods@sdods, then restart Claude Code) and in GitHub Copilot CLI (copilot plugin update sdods), when it is installed. - the generated
sdods-<role>agent files (.claude/agents/sdods-*.md,.github/agents/sdods-*.agent.md) only with--force, because people edit them. Without it,upgradelists the ones that differ from the new version.CLAUDE.mdandAGENTS.mdare never touched.
- the bundled skills, in every folder that already holds them, in the project (
--no-refresh skips step 3. After an upgrade, refresh the browser engines with
sdods browsers install and check the result with sdods doctor.
--json
Without --apply, the report as one object: cli (method, installed, latest, status, the upgrade
command or a hint), packages (the project's @sdods/* rows), assets (the skill folders that
would be refreshed and the stale agent files) and plugins (where the SDODS plugin is installed).
The registry is NPM_CONFIG_REGISTRY when set, otherwise registry.npmjs.org. The desktop app updates
itself; see Installation.