{"version":"2.1.292","anchor":"marketplace-argument-validation-for-plugin-install","canonical_anchor":"marketplace-argument-validation-for-plugin-install","heading":"Clearer errors when installing a plugin with --marketplace","tier":"use","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/marketplace-argument-validation-for-plugin-install","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Clearer errors when installing a plugin with `--marketplace`\n\n`plugin install --marketplace ` now checks its arguments and explains what is wrong when they don't fit\n\n**What**\n\nThe `--marketplace <source>` option installs a plugin by its bare name from the marketplace at a given source: an owner\/repo, a git or https URL, or a path. Claude Code now checks how you used it and gives a usage error when:\n\n- the source is missing, or starts with a dash\n\n- you did not give exactly one plugin name\n\n- the plugin name already includes `@marketplace`\n\nIn that last case, name the marketplace once only, either as `<plugin>@<marketplace>` or with `--marketplace`. A marketplace that has not been added yet is added first, in your user settings, under the same checks as `plugin marketplace add`.\n\n**Why**\n\nA mistyped install command now tells you what to fix instead of failing in a less obvious way.\n\n- Area: Plugins\n- Names: `--marketplace`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}