Skip to Content
SDODS
ReferenceCLI commands

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 upgrade
sdods upgrade --apply

What --apply does

  1. Upgrades the CLI the way it was installed, when npm has a newer version:

    Installed with--apply runs
    Homebrewbrew upgrade sdods
    npm install -g, or the install scriptnpm install -g @sdods/cli@latest
    bun add -gbun add -g @sdods/cli@latest
    pnpm add -gpnpm add -g @sdods/cli@latest
    the 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 repositorynothing; git pull, then install
  2. Upgrades the project's @sdods/* packages with bun add, pnpm add or npm install. The manager comes from the lockfile unless --pm is given.

  3. 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, upgrade lists the ones that differ from the new version. CLAUDE.md and AGENTS.md are never touched.

--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.

Using an AI coding agent? Install SDODS:

Install the SDODS plugin in Claude Code: skills, subagents, commands and the MCP server.

  1. /plugin marketplace add https://sdods.com/skills.git
  2. /plugin install sdods@sdods
Learn more about using SDODS with AI tools

On this page