Skip to content

upgrade

Move an installed the-loop forward: the CLI and the Claude Code plugin.

bash
the-loop upgrade [COMPONENT ...] [--scope user|project] [--project-dir .]
                 [--from owner/repo] [--dry-run] [--format table|json]
text
$ the-loop upgrade
the-loop upgrade · components: cli, claude · scope: user · marketplace: MadaraUchiha-314/the-loop
Component  Outcome  Step                              Command / file
---------  -------  --------------------------------  ------------------------------------------------
cli        applied  upgrade the the-loopy-one CLI     /usr/bin/uv tool upgrade the-loopy-one
claude     applied  refresh the the-loop marketplace  claude plugin marketplace update the-loop
claude     applied  update the-loop@the-loop          claude plugin update the-loop@the-loop --scope user

Same command as install — same components, flags, outcomes, scopes and exit codes — with the upgrade path of each installer instead of its install path. Read that page for the mechanics; this one covers only what differs.

What differs

  • The CLI is upgraded with the installer that owns it. uv tool upgrade, pipx upgrade, or pip install --upgrade, chosen by where the running package actually lives. That is the point of the command: issue-78 was a CLI that kept reporting an old version because nobody remembered which installer had put it there.
  • The marketplace is refreshed first. plugin marketplace update the-loop runs before plugin update the-loop@the-loop, so the update resolves against the current manifest rather than a cached one.
  • A source checkout is skipped, naming the checkout: a development install is updated with git pull (and uv sync), not by installing a release over it.

Claude Code applies a plugin update on the next session — restart the harness after an upgrade.

After upgrading the plugin

An upgraded plugin does not update the projects it is used on: a release may add managed files or change a config schema. Run /the-loop:upgrade-the-loop inside a project to reconcile it — the two commands are named alike because they are the two halves of the same "move to the current version" job:

MovesRun from
the-loop upgradethe software (CLI, plugin)your terminal
/the-loop:upgrade-the-loopa project's .the-loop/ files and schemasinside a session

See also

Released under the MIT License.