{"version":"2.1.229","anchor":"plugins-can-be-installed-from-a-command-that-prints-a-direct","canonical_anchor":"plugins-can-be-installed-from-a-command-that-prints-a-direct","heading":"Plugins can be installed from a command that prints a directory","tier":"use","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229\/e\/plugins-can-be-installed-from-a-command-that-prints-a-direct","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.229","markdown":"### Plugins can be installed from a command that prints a directory\n\nMarketplaces can install a plugin by running a command that prints a directory path, with your consent.\n\n**What**\n\nPlugin sources now include `command`: a shell command that prints the absolute path of a plugin directory. It is re-resolved on install, on update and once per session in the background, takes an optional `timeout`, and a `mode` of `copy` or `link` decides whether the directory is copied into the plugin cache or used in place. Installing one asks for consent first.\n\n**Details**\n\n- The command string must be printable ASCII and short enough for the consent prompt to display in full, so it can be read before you approve it.\n- Declining the consent prompt is recorded as `command_source_declined`.\n- `link` mode serves the plugin from the producer's directory rather than a cache copy.\n\n**Evidence**\n\n`command must be printable ASCII (letters, digits, punctuation, single spaces) with no runs of 4 or more spaces`\n\n- Area: Plugins\n- Names: `command`, `timeout`, `mode`, `link`, `copy`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}