{"version":"2.1.281","anchor":"plugin-install-rollback-restores-the-earlier-install-record","canonical_anchor":"plugin-install-rollback-restores-the-earlier-install-record","heading":"Plugin install rollback restores the earlier install record instead of dropping it","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/plugin-install-rollback-restores-the-earlier-install-record","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Plugin install rollback restores the earlier install record instead of dropping it\n\nA failed plugin install batch now puts back the plugin's earlier install record instead of deleting it\n\n**What**\n\nWhen a batch of plugin installs fails and is undone, Claude Code now writes back the earlier install record of an affected plugin. This happens when that earlier record for the same scope and project path is known. It only happens if the current record still has the `installPath` and `lastUpdated` values the installer wrote, so a record changed by something else is left alone. The cached list of installed plugins is then cleared and a debug line is logged.\n\n**Why**\n\nA plugin you already had installed keeps its previous record after a failed update or reinstall, instead of losing it."}