File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ You can also install it with the following package managers.
2222 </Tab >
2323 <Tab title = " bun" >
2424 ``` bash
25- bun install -g @opencode-ai/cli@next
25+ bun install -g --trust @opencode-ai/cli@next
2626 ```
2727 </Tab >
2828 <Tab title = " pnpm" >
2929 ``` bash
30- pnpm install -g @opencode-ai/cli@next
30+ pnpm add -g --allow-build=@opencode-ai/cli @opencode-ai/cli@next
3131 ```
3232 </Tab >
3333 <Tab title = " Yarn" >
@@ -37,6 +37,9 @@ You can also install it with the following package managers.
3737 </Tab >
3838</Tabs >
3939
40+ The package uses a trusted postinstall script to select the native binary for your platform. The Bun and pnpm commands
41+ above explicitly allow that script to run.
42+
4043<Note >During beta, the binary is called ` opencode2 ` .</Note >
4144
4245### Homebrew
You can’t perform that action at this time.
0 commit comments