---
title: plugin add
sidebar_label: add
---

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](../../plugins#enabling-plugins).

### Arguments

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

### Options

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