Unable to find a CLI command to install a Cursor plugin after adding its marketplace repository

Issue

I am trying to install a Cursor plugin using the Cursor CLI.

My plugin is:

  • Hosted in a public GitHub repository
  • Configured with both marketplace.json and plugin.json

I have successfully found the command to add the marketplace repository:

cursor-agent plugin marketplace add <repository-url>

However, I cannot find any CLI command or documentation for actually installing a plugin from the added marketplace.

What I am Looking For

Is there a CLI command to install a plugin after adding the marketplace?

For example, something similar to:

cursor-agent plugin install <plugin-id>

or

cursor-agent plugin add <plugin-id>

If such a command exists, could you please provide:

  • The correct CLI command
  • The expected plugin identifier/name format
  • Any prerequisites or required steps before installation

Additional Context

  • Plugin repository is public on GitHub.
  • Marketplace has already been added successfully.
  • The plugin contains both marketplace.json and plugin.json.
  • I am specifically looking for a CLI-based installation process rather than installing through the UI.

Any documentation or examples would be greatly appreciated.

Thank you!

Hey, thanks for the request. There isn’t a separate non-interactive command like cursor-agent plugin install <plugin-id> yet. The plugin marketplace add command you found is basically the current limit of what the CLI can do.

How to install a plugin right now:

  1. Interactive via the CLI: run cursor-agent, type /plugin, go to the Marketplace tab, pick your plugin, and press Enter. During install you can choose the scope, either user, linked to your account and synced, or project.

  2. Via the IDE Customize or the Dashboard user scope: a plugin installed at the user level is synced on the backend and will automatically be available in the CLI, so you don’t need to install it in the CLI separately.

If you need a scriptable, CI-friendly flow without interactivity, it’s not available right now. The closest option is to install once at user scope so it shows up in all CLI sessions. A proper plugin install <name> for the CLI is a reasonable feature request, I’ll pass it to the team.

Let me know if any of this doesn’t work in your case.