Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Update CLI docs to have bun step

Dillon DuPontd6184810f320
diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdx
index e9118bd862..b162607bda 100644
--- a/docs/content/docs/get-started/quickstart.mdx
+++ b/docs/content/docs/get-started/quickstart.mdx
@@ -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">
diff --git a/docs/content/docs/libraries/cua-cli/installation.mdx b/docs/content/docs/libraries/cua-cli/installation.mdx
index 5a2fd49b1e..d05b42c023 100644
--- a/docs/content/docs/libraries/cua-cli/installation.mdx
+++ b/docs/content/docs/libraries/cua-cli/installation.mdx
@@ -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