From d6184810f320626b7ff5519226ad6209cbfe6d9c Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Fri, 14 Nov 2025 16:03:48 -0500 Subject: [PATCH] Update CLI docs to have bun step --- docs/content/docs/get-started/quickstart.mdx | 10 +++++++--- .../docs/libraries/cua-cli/installation.mdx | 15 ++++++++++----- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdx index e9118bd8..b162607b 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 - + ```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" ``` - + ```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 ``` diff --git a/docs/content/docs/libraries/cua-cli/installation.mdx b/docs/content/docs/libraries/cua-cli/installation.mdx index 5a2fd49b..d05b42c0 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. -## 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 ``` - - The npm package requires Node.js 18+ to be installed on your system. + + 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. ## Verify Installation