From 8a95edb79b996794f9ad5c5357a11d8629f4dda9 Mon Sep 17 00:00:00 2001 From: adavyas <121313528+adavyas@users.noreply.github.com> Date: Tue, 28 Apr 2026 12:05:41 -0700 Subject: [PATCH] docs: update opencode install command (#623) * docs: update opencode install command * docs: use native opencode plugin install --- docs/v3/guides/integrations/opencode.mdx | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/docs/v3/guides/integrations/opencode.mdx b/docs/v3/guides/integrations/opencode.mdx index 6b37ca58..2e046b1b 100644 --- a/docs/v3/guides/integrations/opencode.mdx +++ b/docs/v3/guides/integrations/opencode.mdx @@ -18,32 +18,26 @@ Give OpenCode long-term memory that survives context wipes, session restarts, an ### Step 2: Install the Plugin -This plugin requires [Bun](https://bun.sh) and the [OpenCode CLI](https://opencode.ai). If `opencode` isn't on your `PATH`, install it first, then restart your shell. +This plugin requires the [OpenCode CLI](https://opencode.ai). If `opencode` isn't on your `PATH`, install it first, then restart your shell. -Run the installer: +Install the plugin: ```bash -bunx @honcho-ai/opencode-honcho install +opencode plugin "@honcho-ai/opencode-honcho" --global ``` - +To update an existing plugin install: -Windows Command Prompt: - -```cmd -git clone --branch main https://github.com/plastic-labs/opencode-honcho.git -cd opencode-honcho -bun install && bun run build && bun .\dist\cli.js install --plugin-spec "%CD%" --force +```bash +opencode plugin "@honcho-ai/opencode-honcho" --force ``` - - -The installer: +OpenCode: - registers `@honcho-ai/opencode-honcho` with OpenCode -- enables both the native server and TUI plugin targets -- writes the Honcho command templates into your global OpenCode config +- resolves the package's native server and TUI plugin targets +- updates plugin entries in your global OpenCode config - activates the plugin globally for every OpenCode project ### Step 3: Run Setup in OpenCode