mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 10:14:22 +01:00
docs: format installation commands for madkrown code block (#4151)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -42,11 +42,31 @@ You can also install it with the following commands:
|
|||||||
- **Using Node.js**
|
- **Using Node.js**
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<TabItem label="npm">```bash npm install -g opencode-ai ```</TabItem>
|
<TabItem label="npm">
|
||||||
<TabItem label="Bun">```bash bun install -g opencode-ai ```</TabItem>
|
```bash
|
||||||
<TabItem label="pnpm">```bash pnpm install -g opencode-ai ```</TabItem>
|
npm install -g opencode-ai
|
||||||
<TabItem label="Yarn">```bash yarn global add opencode-ai ```</TabItem>
|
```
|
||||||
</Tabs>
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem label="Bun">
|
||||||
|
```bash
|
||||||
|
bun install -g opencode-ai
|
||||||
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem label="pnpm">
|
||||||
|
```bash
|
||||||
|
pnpm install -g opencode-ai
|
||||||
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem label="Yarn">
|
||||||
|
```bash
|
||||||
|
yarn global add opencode-ai
|
||||||
|
```
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
- **Using Homebrew on macOS and Linux**
|
- **Using Homebrew on macOS and Linux**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user