{"version":"2.1.331","anchor":"plugin-install-gains-an-optional-mode-and-rejects-git-sub","canonical_anchor":"plugin-install-gains-an-optional-mode-and-rejects-git-sub","heading":"Plugin installs refuse folders inside .git and gain an optional install mode","tier":"notice","area":"Plugins","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/plugin-install-gains-an-optional-mode-and-rejects-git-sub","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Plugin installs refuse folders inside .git and gain an optional install mode\n\nClaude Code now refuses to install a plugin from inside a repository's .git folder, and plugin installs gain an optional mode with an extra note\n\n**Unclear.** How a user asks for an optional install is not shown.\n\n**What**\n\nA plugin is an add-on that extends Claude Code. Plugin installs have changed in several ways:\n\n- Installs from a path inside a repository's `.git` folder are now refused, because the files there are not part of any commit.\n\n- Installs can now be marked as optional, and the result of an optional install can include an extra note.\n\n- Claude Code checks installs against trusted marketplaces (the catalogues plugins come from) and against plugins that are off limits.\n\n- If the plugin is turned off while it is being installed, the install is rolled back instead of writing its settings anyway.\n\n**Why**\n\nThese changes make plugin installs safer. A plugin can no longer be installed from hidden repository files, and switching a plugin off mid-install no longer leaves it half set up.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}