Prerequisites
- A Buddy account (buddy.works)
- For npm installation: Node.js 14 or higher
Installation
npm (Recommended)
macOS / Linux:
bashsudo npm i -g bdy$
Windows:
powershellnpm i -g bdy
Homebrew (macOS)
bashbrew tap buddy/bdy brew install bdy$$
APT (Linux x64 / ARM64)
bashsudo apt-get update && sudo apt-get install -y software-properties-common sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/buddy.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys eb39332e766364ca6220e8dc631c5a16310cc0ad echo "deb [arch=amd64 signed-by=/usr/share/keyrings/buddy.gpg] https://es.buddy.works/bdy/apt-repo prod main" | sudo tee /etc/apt/sources.list.d/buddy.list > /dev/null sudo apt-get update && sudo apt-get install -y bdy$$$$
For ARM64, replace arch=amd64 with arch=arm64.
Chocolatey (Windows)
powershellchoco install bdy --pre
Direct Download
macOS (Apple Silicon):
bashsudo mkdir -p -m 755 /usr/local/bin curl https://es.buddy.works/bdy/prod/1.15.6/darwin-arm64.tar.gz -o bdy.tar.gz sudo tar -zxf bdy.tar.gz -C /usr/local/bin/$$$
Linux x64:
bashcurl https://es.buddy.works/bdy/prod/1.15.6/linux-x64.tar.gz -o bdy.tar.gz sudo tar -zxf bdy.tar.gz -C /usr/local/bin/$$
Linux ARM64:
bashcurl https://es.buddy.works/bdy/prod/1.15.6/linux-arm64.tar.gz -o bdy.tar.gz sudo tar -zxf bdy.tar.gz -C /usr/local/bin/$$
Windows x64:
powershellcurl https://es.buddy.works/bdy/prod/1.15.6/win-x64.zip -o bdy.zip tar -xf bdy.zip
Verify Installation
bashbdy version$
Sign Up & Log In
Create an account from the CLI
New to Buddy? You can register without leaving the terminal:
bashbdy register$
You'll be asked to pick a region (us, eu, or as) and enter your details. You can also pass them up front:
bashbdy register --region eu --email you@example.com --name "Your Name"$
Once registration completes you're logged in straight away - there's no separate login step.
Log in to an existing account
bashbdy login$
To skip the interactive prompts, authenticate with a personal access token:
bashbdy login --token <your-token> --workspace <workspace-handle>$
| Option | Description |
|---|---|
--region <us|eu|as> | Region your workspace lives in |
-w, --workspace <handle> | Workspace URL handle |
--token <token> | Personal access token (skips interactive login) |
--api <url> | API URL for On-Premises installations |
Both --region and --api can also be set via the BUDDY_REGION and BUDDY_API_ENDPOINT variables.
Log out
bashbdy logout$
Updating
npm:
bashsudo npm update -g bdy sudo npm install -g bdy@latest$$
Homebrew:
bashbrew upgrade bdy$
APT:
bashsudo apt-get update && sudo apt-get upgrade bdy$
Chocolatey:
powershellchoco upgrade bdy
Last modified on Jun 30, 2026