{"version":"2.1.275","anchor":"plugin-install-gains-explicit-marketplace-disambiguatio","canonical_anchor":"new-plugin-install-marketplace-flag-to-install-and-add-a","heading":"\/plugin install gains a --marketplace flag","tier":"use","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275\/e\/plugin-install-gains-explicit-marketplace-disambiguatio","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.275","markdown":"### \/plugin install gains a --marketplace flag\n\n\/plugin install now accepts --marketplace to install a plugin and add its marketplace source in one step\n\n**What**\n\n- `\/plugin install` now supports a `--marketplace <source>` (or `--marketplace=<source>`) flag that installs a plugin and adds its marketplace source at the same time, and the help text now documents this usage.\n\n- The command reports usage errors for a missing source, the wrong number of arguments, or when the plugin name also embeds a marketplace (e.g. `plugin@marketplace`) at the same time as `--marketplace` is passed.\n\n- The add-marketplace UI gained a `confirmAdd` field that can trigger an automatic confirmation step when installing this way.\n\n**Why**\n\nThis lets you install a plugin from a marketplace you haven't added yet without a separate `\/plugin marketplace add` step, while still catching ambiguous or malformed commands.\n\n- Area: Plugins\n- Names: `\/plugin install`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5"}