The Rover plugin Command

Install the plugins Rover uses for composition and local development


Some Rover commands delegate their work to a plugin binary:

PluginWhat it isUsed by
supergraphFederation compositionrover supergraph compose, rover dev, rover lsp, rover connector
routerGraphOS Routerrover dev
apollo-mcp-serverApollo MCP Serverrover dev --mcp

These commands download a required plugin if it's missing, and warn that a future version of Rover won't. To install plugins ahead of time, use rover plugin install. To see what's installed, use rover plugin list, and to remove a plugin, use rover plugin uninstall. To control downloads, see Automatic downloads.

plugin install

Bash
1rover plugin install [NAME@VERSION]...

Name the plugin and the version you want as <NAME>@<VERSION>:

Bash
1rover plugin install supergraph@=2.9.3
2rover plugin install router@2
3rover plugin install apollo-mcp-server@latest

To install several plugins in one run, name each of them. See Installing several plugins.

Plugin versions

Each plugin accepts these version forms:

FormMeaningAccepted byExample
A major versionThe newest release within that major versionsupergraph (2), router (1, 2)router@2
latestThe newest release. For router, and for supergraph in rover.yaml, the newest 2.x releaserouter, apollo-mcp-server, and supergraph in rover.yaml onlyapollo-mcp-server@latest
=X.Y.ZExactly that releaseevery pluginsupergraph@=2.9.3

On the command line, supergraph@latest isn't accepted. Use a major version, such as supergraph@2. In rover.yaml, supergraph: latest is accepted and means the newest 2.x release, but a major version such as 2 says the same thing more plainly.

Federation 1 versions of supergraph are refused with E064.

The older spellings latest-N (for a major version) and vX.Y.Z (for an exact version) still work, but print a deprecation warning naming the current spelling:

Text
1warning: `latest-2` is a deprecated version format. Use `2` instead.

Pin an exact version for anything you want to be reproducible. A floating version (latest or a major) is resolved against the Apollo plugin registry when you install, and the result is recorded in the lockfile.

Run without a plugin name to install everything in scope. See Installing everything a project declares.

rover plugin install always downloads a plugin that isn't installed yet. The automatic-download setting doesn't affect it. To forbid downloading, pass --no-download.

Installing several plugins

Name each plugin you want, in any order:

Bash
1rover plugin install supergraph@=2.9.3 router@2 apollo-mcp-server@latest

Name each plugin only once. A level's lockfile records one release of each plugin, so Rover refuses a command that names a plugin twice, before installing anything:

Text
1error: `router` is named more than once.
2        Name each plugin once.

Rover installs the plugins one at a time and reports each one as it finishes. If one plugin fails, Rover still tries every other plugin, then ends with a summary. See Output.

Installing a plugin is safe to repeat. A plugin that's already installed at the target level isn't downloaded again, so after a partial failure, re-running the same command installs only the plugins that failed.

Options

OptionDescription
-f, --forceOverwrite any existing binary without prompting for confirmation.
--no-downloadNever download: use the plugin if it's already installed, and fail, naming it, if it isn't. You can also set the APOLLO_ROVER_NO_DOWNLOAD environment variable to 1 or true. Neither this nor --skip-update implies the other.
-g, --globalInstall into the global install root, even inside a project that has its own. You can also set the APOLLO_ROVER_GLOBAL environment variable to 1 or true.
-m, --manifest-path <FILE>Install into the project whose rover.yaml this is, rather than the one found by searching up from the working directory. Creates the project if it doesn't exist. See Creating a project.
--elv2-license <ELV2_LICENSE_ACCEPTED>Accept the ELv2 license without prompting. Expected value: accept. You can also set the APOLLO_ELV2_LICENSE environment variable to accept.

Other common Rover options (for example --format, --log, and --client-timeout) also apply. Run rover plugin install --help for the full list.

Accepting the ELv2 license

The supergraph, router, and apollo-mcp-server plugins are licensed under the ELv2 license. The first time you install one on a machine, Rover asks you to accept the license. Rover remembers your answer.

CI systems can't answer the prompt, so accept the license with --elv2-license accept or APOLLO_ELV2_LICENSE=accept:

Bash
1rover plugin install supergraph@=2.9.3 --elv2-license accept

Otherwise the command fails. In CI, where the CI environment variable is set, the message is:

Text
1error: This command requires that you accept the terms of the ELv2 license.
2        Before running this command again, you need to either set `APOLLO_ELV2_LICENSE=accept` as an environment variable, or pass the `--elv2-license=accept` argument.

Outside CI, the message adds: You will only need to do this once on this machine.

Where plugins are installed

Rover installs plugins at one of two levels:

  • Project: a .rover/ directory in your repository. Plugins go in .rover/bin/.

  • Global: Rover's own directory, shared by every project on the machine. Plugins go in $APOLLO_HOME/.rover/bin/, which is ~/.rover/bin/ when APOLLO_HOME isn't set.

Rover finds the project by searching the working directory, then each parent directory, for a .rover/ directory, and stops at the first one it finds. Your home directory's ~/.rover/ is the global level, never a project.

When a command needs a plugin, it looks in the project first, then globally, and uses the first copy it finds at the version it needs. A plugin installed globally works in every project that hasn't installed its own copy.

Installing into a project

Inside a project, rover plugin install installs into the project's .rover/bin/ and records the installed version in .rover/plugin-versions.lock:

Bash
1rover plugin install supergraph@=2.9.3
Text
1downloading the 'supergraph' plugin from https://rover.apollo.dev/tar/supergraph/aarch64-apple-darwin/v2.9.3
2the 'supergraph' plugin was successfully installed to /work/app/.rover/bin/supergraph-v2.9.3

In JSON output, Rover reports the plugin with "level": "project".

Creating a project

Rover never creates a project on its own. To create one, name your manifest with --manifest-path:

Bash
1rover plugin install supergraph@=2.9.3 --manifest-path .rover/rover.yaml

If the manifest doesn't exist, Rover creates it and the rest of the project alongside it:

Text
1.rover/
2├── .gitignore            # contains "bin/"
3├── bin/
4│   └── supergraph-v2.9.3
5├── plugin-versions.lock
6└── rover.yaml

Rover doesn't overwrite a .gitignore that's already there. If the install fails, Rover doesn't leave a partly created project behind.

--manifest-path also installs into a project other than the one Rover would find from the working directory. The settings: in the named project's rover.yaml apply to the command.

You can't combine --manifest-path with a global install. With --global, Rover refuses the command:

Text
1error: the argument '--manifest-path <FILE>' cannot be used with '--global'

Rover also refuses the command if you set APOLLO_ROVER_GLOBAL:

Text
1error: `--manifest-path` names a project to install into, but `APOLLO_ROVER_GLOBAL` asks for a global install.
2        Unset `APOLLO_ROVER_GLOBAL` to install into the project, or drop `--manifest-path` to install globally.

Installing globally

Outside a project, rover plugin install installs into $APOLLO_HOME/.rover/bin/ (by default, ~/.rover/bin/) and records the version in $APOLLO_HOME/.rover/plugin-versions.lock. In JSON output, the plugin is reported with "level": "global".

To install globally from inside a project, pass --global (-g), or set APOLLO_ROVER_GLOBAL to 1 or true:

Bash
1rover plugin install router@2 --global
note
If you installed Rover with npm and no project is in scope, plugins install into the npm package's node_modules/.bin/ directory instead, and aren't recorded in a lockfile.

Installing everything a project declares

Run rover plugin install with no plugin name to install every plugin in scope:

Bash
1rover plugin install

Rover installs every plugin the lockfile records, at exactly the version it records, without asking the plugin registry. It also installs every plugin that rover.yaml declares but the lockfile doesn't record yet, and records it.

This makes a committed lockfile reproducible: every machine that runs rover plugin install in the project gets the same versions.

When there's more than one plugin to install, Rover reports them the same way as several plugins named on the command line: it tries every plugin, records each one in the lockfile as soon as it's installed, and ends with a summary.

If rover.yaml and the lockfile disagree, the command fails instead of silently choosing one. For example, after changing a declared version in rover.yaml:

Text
1error[E052]: The plugin lockfile is out of date with `/work/app/.rover/rover.yaml`: `supergraph` is declared as `=2.9.4` but locked at `2.9.3`.
2        Run `rover plugin install supergraph@=2.9.4` to update it.

Plugin-using commands such as rover supergraph compose fail the same way. A rover.yaml with no lockfile beside it isn't an error: Rover uses its declarations as written.

The plugin lockfile

Each successful rover plugin install records what it installed in plugin-versions.lock, next to that level's rover.yaml. Installing one plugin leaves every other entry as it was, so a floating version recorded earlier keeps the release it was locked at. rover plugin uninstall removes a plugin's entry when it removes the plugin. Other commands never write the lockfile.

The lockfile is TOML:

toml
.rover/plugin-versions.lock
1# This file is generated by Rover. It is not intended for manual editing.
2version = 1
3
4[[plugins]]
5name = "supergraph"
6requested = "=2.9.3"
7resolved = "2.9.3"
8
9[[plugins]]
10name = "router"
11requested = "2"
12resolved = "2.17.0"

requested is the version you asked for, and resolved is the exact release it resolved to.

Don't edit the lockfile by hand. To change a version, run rover plugin install <NAME>@<VERSION>.

In a project, commit .rover/rover.yaml and .rover/plugin-versions.lock, and don't commit .rover/bin/. A project Rover creates comes with a .gitignore that ignores bin/.

A lockfile Rover can't read, including one written by a newer version of Rover, fails with E052 naming the file. Rover doesn't ignore or overwrite it.

Declaring plugins in rover.yaml

A rover.yaml can declare which plugin versions a project, or the whole machine, expects:

YAML
.rover/rover.yaml
1plugins:
2  supergraph: "=2.9.3"
3  router: "2"
4  apollo-mcp-server: latest

The keys under plugins: must be supergraph, router, or apollo-mcp-server. Each value takes any of the version forms.

Rover reads rover.yaml from two places:

  • Project: .rover/rover.yaml in the project.

  • Global: $APOLLO_HOME/.rover/rover.yaml (by default, ~/.rover/rover.yaml).

When both declare a plugin, the project declaration takes precedence for that plugin. If your project declares only router, Rover still uses the global declaration for supergraph.

A rover.yaml that Rover can't use fails with E052 naming the file. For example, an unknown plugin name or a YAML merge key (<<) under plugins: is refused:

Text
1error[E052]: Couldn't decide which `supergraph` plugin version to use
2
3Caused by:
4    0: `/home/me/.rover/rover.yaml` is not a valid manifest.
5    1: plugins: `<<` is not a Rover plugin. Valid plugins are `supergraph`, `router`, and `apollo-mcp-server` at line 4 column 3
6        Fix `/home/me/.rover/rover.yaml`, or remove it, then re-run the command.

A project's rover.yaml can also hold a settings: section. See Project settings.

Which version a command uses

For the supergraph plugin, Rover takes the version from the first of these that's set:

  1. The --federation-version option

  2. federation_version in supergraph.yaml

  3. The project's rover.yaml

  4. The global rover.yaml

supergraph.yaml is authoritative for composition, so adding a rover.yaml never changes what an existing supergraph.yaml composes with. When both set a version and they disagree, Rover uses supergraph.yaml and warns:

Text
1warning: `supergraph.yaml` sets `federation_version: =2.9.3`, overriding the `supergraph` version declared in `rover.yaml`.

rover dev also reads the router and apollo-mcp-server versions from rover.yaml, after its own options and environment variables.

When rover.yaml declares a floating version and the lockfile at the same level records it, commands use the locked release.

plugin list

Bash
1rover plugin list

Lists every installed copy of every plugin, with its exact version, grouped by level. Inside a project, it lists the project's plugins first, then the global ones:

Text
1Installed in this project (/work/app/.rover/bin):
2* router v2.1.0
3
4Installed globally (/home/me/.rover/bin):
5* supergraph v2.9.3
6  supergraph v2.9.2
7
8`*` marks the copy Rover uses for each plugin, going by `rover.yaml` and `plugin-versions.lock`. A version flag, an environment variable, or `supergraph.yaml` can select another.

For each plugin, * marks the copy that plugin-using commands such as rover supergraph compose would use without downloading anything. Rover chooses it the way those commands do: it takes the version from the declarations in scope, pinned by the lockfile, or the plugin's default when nothing declares it, then uses the newest matching copy, checking the project before the global level. A plugin with no matching copy has none marked.

The marker doesn't take account of version options, environment variables, or supergraph.yaml, which take precedence over rover.yaml when a command runs.

If Rover can't read the declarations, for example because rover.yaml is malformed or disagrees with the lockfile, it still lists every copy but marks none, and prints the problem as a warning. The command still succeeds.

When nothing is installed, Rover says so:

Text
1No plugins are installed in this project or globally.

rover plugin list never contacts the plugin registry.

Options

OptionDescription
-g, --globalList only the global install root, even inside a project. Only the global rover.yaml and lockfile decide which copy is marked. You can also set the APOLLO_ROVER_GLOBAL environment variable to 1 or true.
-m, --manifest-path <FILE>List the project whose rover.yaml this is, rather than the one found by searching up from the working directory.

JSON output

With --format json, data.levels lists each level Rover looked at, and data.plugins lists every copy, with selected set to true on the marked ones:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "levels": [
5      { "level": "project", "bin_dir": "/work/app/.rover/bin" },
6      { "level": "global", "bin_dir": "/home/me/.rover/bin" }
7    ],
8    "plugins": [
9      {
10        "name": "router",
11        "version": "2.1.0",
12        "level": "project",
13        "path": "/work/app/.rover/bin/router-v2.1.0",
14        "selected": true
15      },
16      {
17        "name": "supergraph",
18        "version": "2.9.3",
19        "level": "global",
20        "path": "/home/me/.rover/bin/supergraph-v2.9.3",
21        "selected": true
22      },
23      {
24        "name": "supergraph",
25        "version": "2.9.2",
26        "level": "global",
27        "path": "/home/me/.rover/bin/supergraph-v2.9.2",
28        "selected": false
29      }
30    ],
31    "success": true
32  },
33  "error": null
34}

plugin uninstall

Bash
1rover plugin uninstall <NAME[@=VERSION]>...

Removes plugins from one level. Rover chooses the level the same way as rover plugin install: the project when there is one, otherwise the global level. --global and --manifest-path change it.

Name a plugin alone to remove every version of it installed at that level, or name an exact version to remove only that release:

Bash
1rover plugin uninstall supergraph
2rover plugin uninstall router@=2.1.0

Rover reports each binary it removes:

Text
1Removed `supergraph` v2.9.3 from this project.
2Removed `supergraph` v2.9.2 from this project.

A floating version could mean more than one release, so Rover refuses it, before removing anything:

Text
1error: `router@2` is ambiguous for uninstall. Name the plugin alone to remove every installed version, or an exact `router@=2.1.0`.

rover plugin uninstall never contacts the plugin registry.

Updating rover.yaml and the lockfile

When an uninstall leaves no copy of a plugin at the level, Rover also removes that plugin from the level's rover.yaml and lockfile, so the project no longer declares a plugin it doesn't have. Rover changes only that plugin's line in rover.yaml, and keeps your comments, ordering, quoting, and line endings.

Rover can't edit a plugins: section written as a flow mapping (plugins: { router: "2" }). If it finds one, it refuses the uninstall before removing anything:

Text
1error[E052]: Rover can't update the plugins declared in `/work/app/.rover/rover.yaml`.
2
3Caused by:
4    `plugins` is written as a flow mapping (`{ ... }`)
5        Write `plugins:` in `/work/app/.rover/rover.yaml` as a block mapping of plugin names to versions, or make the change by hand, then re-run the command.

When you remove one exact version and other versions of the plugin are still installed, the plugin is still both installed and declared, so Rover leaves rover.yaml and the lockfile as they are. If the version you removed is the one the lockfile records, Rover warns you:

Text
1warning: `plugin-versions.lock` records `supergraph` v2.9.3, which is no longer installed in this project. The next plugin-using command will download it again, or fail if downloads are disabled.

Other levels are left alone

An uninstall only ever removes plugins from its own level. If a project has no copy of a plugin and is using the global one, uninstalling it in the project removes nothing and says how to remove the global copy:

Text
1`supergraph` isn't installed in this project. It resolves from the global install; re-run with `--global` to remove it there.

With --global, a plugin that's installed only in the project is likewise left in place:

Text
1`router` isn't installed globally. It's installed in this project; re-run without `--global` to remove it there.

Uninstalling a plugin that isn't installed anywhere does nothing and says so. These cases all exit successfully, and don't change rover.yaml or the lockfile:

Text
1`supergraph` isn't installed in this project or globally. Nothing was removed.

Options

OptionDescription
-g, --globalRemove from the global install root, even inside a project. You can also set the APOLLO_ROVER_GLOBAL environment variable to 1 or true.
-m, --manifest-path <FILE>Remove from the project whose rover.yaml this is, rather than the one found by searching up from the working directory.

JSON output

With --format json, data.removed lists each binary Rover removed:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "removed": [
5      {
6        "name": "supergraph",
7        "version": "2.9.3",
8        "level": "project",
9        "path": "/work/app/.rover/bin/supergraph-v2.9.3"
10      }
11    ],
12    "success": true
13  },
14  "error": null
15}

Automatic downloads

rover supergraph compose, rover dev, rover lsp, and rover connector use a plugin that's already installed, in the project or globally. If it isn't installed, the command downloads it into the global install root, even inside a project, and writes no lockfile. To install a plugin into a project and record it, use rover plugin install.

The APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD setting controls these downloads. When nothing sets it, each download prints a warning, because a future version of Rover will stop downloading plugins automatically:

Text
1Warning: Rover downloaded the `supergraph` plugin v2.9.3 because `APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD` isn't set. A future version of Rover will not install plugins automatically. Install plugins ahead of time with `rover plugin install supergraph@=2.9.3`, or set `APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD` to `true` to keep downloading them or `false` to stop now.

--no-config-notices doesn't silence this warning. Only setting APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD, to either value, does:

  • true keeps downloading missing plugins, without the warning.

  • false stops downloading. A plugin installed nowhere then stops the command with E058:

    Text
    1error[E058]: Error when updating Federation Version
    2
    3Caused by:
    4    0: Couldn't obtain the `supergraph` plugin
    5    1: Rover needs the `supergraph` plugin v2.9.3, but it isn't installed in `/work/app/.rover/bin` or `/home/me/.rover/bin` and downloads are disabled by `APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD`.
    6        Run `rover plugin install supergraph@=2.9.3` to install it ahead of time, or set `APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD` to `true` to let Rover download it.

    With downloads turned off, a floating version such as federation_version: 2 uses the newest matching release that's already installed.

Set it in any of these ways:

  • Set the APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD environment variable to 1 or true, or to 0 or false. The environment variable outranks a profile and the project file.

  • Store it on a profile with rover config set:

    Bash
    1rover config set APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD false
  • Set it under settings: in the project's .rover/rover.yaml:

    YAML
    .rover/rover.yaml
    1settings:
    2  APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD: false

    The global rover.yaml can't set it. Rover ignores its settings: section and warns.

Run rover config show to see the setting's value and where it came from. With nothing set, it reports true from the built-in default.

--skip-update and APOLLO_ROVER_SKIP_UPDATE forbid downloads even when APOLLO_ROVER_ALLOW_AUTOMATIC_DOWNLOAD is true. Under either, a missing plugin fails with E058, naming every directory Rover searched:

Text
1error[E058]: Error when updating Federation Version
2
3Caused by:
4    0: Couldn't obtain the `supergraph` plugin
5    1: Rover needs the `supergraph` plugin v2.9.2, but it isn't installed in `/work/app/.rover/bin` or `/home/me/.rover/bin` and downloads are disabled by `--skip-update`.
6        Run `rover plugin install supergraph@=2.9.2` to install it ahead of time, or re-run without `--skip-update` to let Rover download it.

--skip-update guards the commands that use plugins, and --no-download guards rover plugin install. Neither implies the other.

Using a plugin mirror

Rover plugin commands download plugin binaries from https://rover.apollo.dev. If your network can't reach it, host the binaries yourself and set APOLLO_ROVER_DOWNLOAD_HOST to your host. This is the same mechanism described in Installing from a mirror, and it applies to rover plugin install and to automatic downloads alike. This section describes what your host must serve.

You can set APOLLO_ROVER_DOWNLOAD_HOST as an environment variable in any version of Rover. In Rover v1.0 and later, you can also set it like any other Rover setting: with the --download-host flag, with rover config set APOLLO_ROVER_DOWNLOAD_HOST <url>, or under settings: in .rover/rover.yaml.

Bash
1APOLLO_ROVER_DOWNLOAD_HOST=https://mirror.example.com rover plugin install supergraph@latest-2

Ensure your host serves the same routes as rover.apollo.dev. Pointing it at GitHub release URLs doesn't work, because Rover builds URLs in the registry's layout, not GitHub's. A proxy, such as an artifact repository with a rewrite rule, can bridge the two.

Rover requests {host}/tar/{plugin}/{target}/{version}, where:

  • plugin is router, supergraph, or apollo-mcp-server.

  • target is x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-apple-darwin, aarch64-apple-darwin, or x86_64-pc-windows-msvc.

  • version is v plus an exact version (v2.9.3), or a floating alias.

RequestYour host must respond with
GET with an exact versionA gzip-compressed tar archive containing the binary at dist/<plugin> (dist/<plugin>.exe on Windows). Redirects are followed.
HEAD with a floating aliasA redirect whose X-Version header names the release the alias currently resolves to (for example v2.9.3). Rover reads the header and doesn't follow the redirect.
An exact version you don't have404 Not Found, or 410 Gone for a withdrawn release.

Floating aliases are latest-0, latest-2, and latest-3 for supergraph; latest-plugin (router 1), latest-2, and latest-3 for router; and latest for apollo-mcp-server. A mirror that only hosts specific releases works if you pin exact versions and never use floating ones.

To avoid depending on a mirror at runtime, install plugins ahead of time with rover plugin install and turn off automatic downloads.

Output

rover plugin install reports progress on stderr:

Text
1downloading the 'supergraph' plugin from https://rover.apollo.dev/tar/supergraph/aarch64-apple-darwin/v2.9.3
2the 'supergraph' plugin was successfully installed to /home/me/.rover/bin/supergraph-v2.9.3

Installing a plugin that's already installed at the target level downloads nothing, says so, and exits successfully:

Text
1`supergraph` v2.9.3 is already installed in this project.

To reinstall a plugin, pass --force.

When it installs more than one plugin, Rover reports each plugin as it finishes, then ends with a summary that counts the plugins installed, already installed, and failed. Rover leaves out any count that's zero:

Text
1`supergraph` v2.9.3 is already installed in this project.
2downloading the 'router' plugin from https://rover.apollo.dev/tar/router/aarch64-apple-darwin/v2.1.0
3the 'router' plugin was successfully installed to /work/app/.rover/bin/router-v2.1.0
4downloading the 'apollo-mcp-server' plugin from https://rover.apollo.dev/tar/apollo-mcp-server/aarch64-apple-darwin/v1.0.0
5the 'apollo-mcp-server' plugin was successfully installed to /work/app/.rover/bin/apollo-mcp-server-v1.0.0
63 plugins: 2 installed, 1 already installed.

If a plugin fails, Rover prints its full error and moves on to the next plugin. The summary then names every plugin that failed and becomes the command's error, with the first failure's error code, and the command exits with a non-zero status:

Text
1`supergraph` v2.9.3 is already installed in this project.
2downloading the 'router' plugin from https://rover.apollo.dev/tar/router/aarch64-apple-darwin/v2.1.0
3error[E049]: Couldn't download the `router` plugin v2.1.0.
4
5Caused by:
6    Bad Status code: 403 Forbidden
7        Re-run the command to retry downloading `router` v2.1.0. If the download keeps failing or timing out, check your connection to the plugin registry, or allow it longer by passing `--client-timeout` a value above the 300-second default for plugin downloads.
8downloading the 'apollo-mcp-server' plugin from https://rover.apollo.dev/tar/apollo-mcp-server/aarch64-apple-darwin/v1.0.0
9the 'apollo-mcp-server' plugin was successfully installed to /work/app/.rover/bin/apollo-mcp-server-v1.0.0
10error[E049]: 3 plugins: 1 installed, 1 already installed, 1 failed (`router`).

A plugin that Rover used from an existing install, because it couldn't reach the plugin registry, counts as already installed. Installing a single plugin prints no summary.

With --format json, data.plugins lists each plugin the command installed or found:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "plugins": [
5      {
6        "name": "supergraph",
7        "version": "2.9.3",
8        "source": "downloaded",
9        "level": "project",
10        "path": "/work/app/.rover/bin/supergraph-v2.9.3"
11      }
12    ],
13    "success": true
14  },
15  "error": null
16}
FieldDescription
nameThe plugin: supergraph, router, or apollo-mcp-server.
versionThe exact version, never the version as requested.
sourcedownloaded if Rover downloaded it during this run, installed if it was already installed, or fallback if Rover couldn't reach the plugin registry and used a release that was already installed.
levelproject or global.
pathWhere the plugin binary is.

rover supergraph compose --format json reports the plugin it used in the same data.plugins field, next to the composed schema (core_schema) and any hints. For example:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "core_schema": "schema @link(url: \"https://specs.apollo.dev/link/v1.0\") ...",
5    "hints": [],
6    "plugins": [
7      {
8        "name": "supergraph",
9        "version": "2.9.3",
10        "source": "downloaded",
11        "level": "global",
12        "path": "/home/me/.rover/bin/supergraph-v2.9.3"
13      }
14    ],
15    "success": true
16  },
17  "error": null
18}

Errors

With --format json, a failure about a particular plugin (E048 to E052, and E058) also names the plugin and the version requested in error.plugin and error.requested_version. When you install a single plugin, data.plugins is an empty list:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "plugins": [],
5    "success": false
6  },
7  "error": {
8    "message": "...",
9    "code": "E048",
10    "plugin": "router",
11    "requested_version": "=2.9.9"
12  }
13}

A failure about a manifest or lockfile rather than a plugin doesn't carry plugin or requested_version.

When you install several plugins and any fail, the command fails. data.plugins lists each plugin that installed or was already installed. data.failed lists the error for each plugin that failed, in the order Rover tried them, in the same form as a single plugin's error. The top-level error is the first of them, so a script that checks error.code sees the failing plugin's own code:

JSON
1{
2  "json_version": "1",
3  "data": {
4    "plugins": [
5      {
6        "name": "apollo-mcp-server",
7        "version": "1.0.0",
8        "source": "downloaded",
9        "level": "project",
10        "path": "/work/app/.rover/bin/apollo-mcp-server-v1.0.0"
11      }
12    ],
13    "failed": [
14      {
15        "message": "Couldn't download the `router` plugin v2.1.0.",
16        "causes": ["Bad Status code: 403 Forbidden"],
17        "code": "E049",
18        "plugin": "router",
19        "requested_version": "=2.1.0"
20      }
21    ],
22    "success": false
23  },
24  "error": {
25    "message": "Couldn't download the `router` plugin v2.1.0.",
26    "causes": ["Bad Status code: 403 Forbidden"],
27    "code": "E049",
28    "plugin": "router",
29    "requested_version": "=2.1.0"
30  }
31}

When every plugin succeeds, the output is the same as for a single plugin, with every plugin listed in data.plugins and no data.failed.

CodeWhen it occurs
E048Rover couldn't resolve which release a version request means.
E049Rover couldn't download the plugin.
E050Rover downloaded the plugin but couldn't install it.
E051The requested exact release is no longer served by the plugin registry.
E052A rover.yaml or lockfile can't be used or updated, or the two disagree.
E058A plugin isn't installed and downloads are disabled.
E064A Federation 1 version of the supergraph plugin was requested. Rover no longer supports Federation 1.