Back to Moon

plugin add

website/docs/proto/commands/plugin/add.mdx

2.2.4777 B
Original Source

import VersionLabel from '@site/src/components/Docs/VersionLabel';

<VersionLabel version="0.23.0" header />

The proto plugin add <id> <plugin> command will add the provided ID and plugin locator string to the [plugins] section of a chosen .prototools.

shell
$ proto plugin add node "https://github.com/moonrepo/node-plugin/releases/latest/download/node_plugin.wasm"

Learn more about plugin locator strings.

Arguments

  • <id> - ID of the tool.
  • <plugin> - How to locate the plugin.

Options

  • --to - Location of .prototools to update. <VersionLabel version="0.41.0" />
  • --type - Type of plugin to add, either tool (default) or backend. <VersionLabel version="0.52.0" />