mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 12:30:08 -06:00
Update CLI docs to have bun step
This commit is contained in:
@@ -339,7 +339,7 @@ Get started quickly with the CUA CLI - the easiest way to manage cloud VMs and r
|
||||
|
||||
### Install the CUA CLI
|
||||
|
||||
<Tabs items={['macOS / Linux', 'Windows', 'npm (Alternative)', 'From Source']}>
|
||||
<Tabs items={['macOS / Linux', 'Windows', 'Bun (Alternative)', 'From Source']}>
|
||||
<Tab value="macOS / Linux">
|
||||
```bash
|
||||
curl -LsSf https://cua.ai/cli/install.sh | sh
|
||||
@@ -350,9 +350,13 @@ Get started quickly with the CUA CLI - the easiest way to manage cloud VMs and r
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://cua.ai/cli/install.ps1 | iex"
|
||||
```
|
||||
</Tab>
|
||||
<Tab value="npm (Alternative)">
|
||||
<Tab value="Bun (Alternative)">
|
||||
```bash
|
||||
npm install -g @trycua/cli
|
||||
# Install Bun if you don't have it
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
# Install CUA CLI
|
||||
bun add -g @trycua/cli
|
||||
```
|
||||
</Tab>
|
||||
<Tab value="From Source">
|
||||
|
||||
@@ -31,16 +31,21 @@ These scripts will automatically:
|
||||
The installation scripts will automatically detect your system and install the appropriate binary to your PATH.
|
||||
</Callout>
|
||||
|
||||
## Alternative: npm Install
|
||||
## Alternative: Install with Bun
|
||||
|
||||
You can also install the CLI via npm if you prefer:
|
||||
You can also install the CLI directly using Bun:
|
||||
|
||||
```bash
|
||||
npm install -g @trycua/cli
|
||||
# Install Bun if you don't have it
|
||||
curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
# Install CUA CLI
|
||||
bun add -g @trycua/cli
|
||||
```
|
||||
|
||||
<Callout type="warn">
|
||||
The npm package requires Node.js 18+ to be installed on your system.
|
||||
<Callout type="info">
|
||||
Using Bun provides faster installation and better performance compared to npm.
|
||||
If you don't have Bun installed, the first command will install it for you.
|
||||
</Callout>
|
||||
|
||||
## Verify Installation
|
||||
|
||||
Reference in New Issue
Block a user