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>
|
||||||
<Tab title="bun">
|
<Tab title="bun">
|
||||||
```bash
|
```bash
|
||||||
bun install -g @opencode-ai/cli@next
|
bun install -g --trust @opencode-ai/cli@next
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="pnpm">
|
<Tab title="pnpm">
|
||||||
```bash
|
```bash
|
||||||
pnpm install -g @opencode-ai/cli@next
|
pnpm add -g --allow-build=@opencode-ai/cli @opencode-ai/cli@next
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab title="Yarn">
|
<Tab title="Yarn">
|
||||||
|
|
@ -37,6 +37,9 @@ You can also install it with the following package managers.
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</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>
|
<Note>During beta, the binary is called `opencode2`.</Note>
|
||||||
|
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue