mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-25 04:03:35 +00:00
docs: allow trusted cli installation
This commit is contained in:
parent
c4830c147d
commit
f2579c41b6
1 changed files with 5 additions and 2 deletions
|
|
@ -22,12 +22,12 @@ You can also install it with the following package managers.
|
|||
</Tab>
|
||||
<Tab title="bun">
|
||||
```bash
|
||||
bun install -g @opencode-ai/cli@next
|
||||
bun install -g --trust @opencode-ai/cli@next
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="pnpm">
|
||||
```bash
|
||||
pnpm install -g @opencode-ai/cli@next
|
||||
pnpm add -g --allow-build=@opencode-ai/cli @opencode-ai/cli@next
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="Yarn">
|
||||
|
|
@ -37,6 +37,9 @@ You can also install it with the following package managers.
|
|||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
The package uses a trusted postinstall script to select the native binary for your platform. The Bun and pnpm commands
|
||||
above explicitly allow that script to run.
|
||||
|
||||
<Note>During beta, the binary is called `opencode2`.</Note>
|
||||
|
||||
### Homebrew
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue