diff --git a/packages/www/content/docs/index.mdx b/packages/www/content/docs/index.mdx index b4003721574..991aef50028 100644 --- a/packages/www/content/docs/index.mdx +++ b/packages/www/content/docs/index.mdx @@ -20,10 +20,26 @@ description: "Get started with OpenCode." You can also install it with the following package managers. - ```bash npm install -g @opencode-ai/cli@next ``` - ```bash bun install -g --trust @opencode-ai/cli@next ``` - ```bash pnpm add -g --allow-build=@opencode-ai/cli @opencode-ai/cli@next ``` - ```bash yarn global add @opencode-ai/cli@next ``` + + ```bash + npm install -g @opencode-ai/cli@next + ``` + + + ```bash + bun install -g --trust @opencode-ai/cli@next + ``` + + + ```bash + pnpm add -g --allow-build=@opencode-ai/cli @opencode-ai/cli@next + ``` + + + ```bash + yarn global add @opencode-ai/cli@next + ``` + The package uses a trusted postinstall script to select the native `opencode2` binary for your platform. The Bun and pnpm