Install in Devin CLI
Have Devin CLI install and connect LeoPrevent for you, or install the local plugin yourself on your machine.
LeoPrevent works with Devin CLI on your machine. Have Devin install it for you, or run the commands yourself. Hosted Devin sessions are not supported.
Before you start#
- Devin CLI is installed.
- You have a LeoPrevent account, and you work in a git repository.
Set it up with your agent#
Your agent installs the plugin and opens your browser to connect it. The same prompt is in the dashboard under Plugin setup, with Copy.
Start Devin in your terminal and send this prompt:
Install LeoPrevent with devin plugins install --local leotrace-hq/leoprevent-plugin#devin/leoprevent. Ask me to sign in to Devin if needed. Then run the installed LeoPrevent binary with login --agent=devin. Keep login running until it prints "LeoPrevent · Connected". Browser login saves the credential locally, so no licence key needs to be copied. Do not ask for, paste, or print one; keep credentials out of this transcript. Tell me what I need to approve or restart myself. Verify with a real turn, not by running the hook by hand: LeoPrevent fails open, so a successful manual run does not prove your coding agent invokes it. Confirm that turn appears in the LeoPrevent dashboard; report verification as pending if you cannot check it.Sign in to Devin if it asks, approve what it asks for, and choose Link installation when the browser opens.
Manual setup#
- 1Sign in to Devin
devin auth login - 2Install the local plugin
devin plugins install --local leotrace-hq/leoprevent-plugin#devin/leoprevent - 3Confirm the plugin
devin plugins list - 4Connect to LeoPrevent
Send this to Devin chat, then choose Link installation on the page it opens in your browser. Keep it running until it prints LeoPrevent · Connected.
Run the installed LeoPrevent binary with login --agent=devin and wait for completion.
Check it worked#
Paste this into your agent and let it reply. The finished turn is what checks in.
Hello! I just installed LeoPrevent. Say hi back so this turn finishes.The installation then shows as Live in Plugin setup. See Check it's working.
Already installed this before?#
Run the local install command again. Your LeoPrevent connection survives.
Update#
Update the installed plugin, then start a new session. Your connection survives the update.
devin plugins update leopreventRemove#
Uninstall the plugin with Devin's plugin manager, then start a new session.