Yalla CLI
The Yalla CLI is the simplest way for developers to interact with Yalla from the terminal or perform automated actions from pipelines.
Quick Install (Recommended)
macOS / Linux
bash << 'EOF'
#!/bin/bash
set -e
echo "Installing Yalla CLI..."
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
case "${OS}_${ARCH}" in
darwin_arm64) PLATFORM="darwin_arm64" ;;
darwin_x86_64) PLATFORM="darwin_amd64" ;;
linux_x86_64) PLATFORM="linux_amd64" ;;
linux_aarch64) PLATFORM="linux_arm64" ;;
*) echo "Unsupported: ${OS}_${ARCH}"; exit 1 ;;
esac
echo "Platform: ${PLATFORM}"
VERSION="533eeed9"
curl -fsSL \
"https://dml.bpglobal.com/artifactory/bp-yalla-images-release-local/cli_${PLATFORM}/cli-${PLATFORM//_/-}-${VERSION}" \
-o /tmp/yalla
chmod +x /tmp/yalla
sudo mv /tmp/yalla /usr/local/bin/yalla
echo "Updating..."
yalla update || true
echo "Done!"
yalla --version
EOF
The script auto-detects your platform, downloads the CLI, and updates to the latest version. No manual steps required!
Windows
Windows support is limited. We recommend using WSL and installing the Linux binary instead.
- Download the binary from:
https://dml.bpglobal.com/artifactory/bp-yalla-images-release-local/cli_windows_amd64/cli-windows-amd64-533eeed9
-
Rename the downloaded file (e.g.
cli-windows-amd64-533eeed9) toyalla.exe -
Add to PATH — open PowerShell and run:
$installDir = "$env:LOCALAPPDATA\yalla"
New-Item -ItemType Directory -Force -Path $installDir | Out-Null
Move-Item yalla.exe "$installDir\yalla.exe" -Force
$userPath = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($userPath -notlike "*$installDir*") {
[Environment]::SetEnvironmentVariable("PATH", "$userPath;$installDir", "User")
}
- Restart your terminal, then verify it works:
yalla --help
Uninstall
macOS / Linux
rm -f /usr/local/bin/yalla ~/.local/bin/yalla
rm -rf ~/.yalla
echo "Yalla CLI uninstalled"
Troubleshooting
-
command not found: yalla
Restart your terminal, or run:
export PATH="/usr/local/bin:${HOME}/.local/bin:$PATH" -
Download failed
Ensure you're on bp network or VPN. Try logging into https://dml.bpglobal.com in your browser first.
-
Permission denied
Run:
chmod +x $(which yalla)
How do I use the Yalla CLI?
Once installed, run yalla to see the available commands and flags:
~ yalla
yalla is a CLI application for building products at bp
Usage:
yalla [command]
Available Commands:
artifact Manage artifacts
bootstrap Bootstrap a new Yalla project
completion Generate the autocompletion script for the specified shell
deployment Manage deployments within Yalla
help Help about any command
login Authenticate with the Yalla service to perform operations
reviewers Identifies Reviewers for the list of changed files
secret Manage secrets within Yalla
service Manage services within Yalla
Flags:
--client-secret string Azure client secret
-h, --help help for yalla
Use "yalla [command] --help" for more information about a command.
How do I update the Yalla CLI?
With the latest version you can now use the CLI to update itself:
~ yalla login
2025/05/27 14:20:23 Using cached credentials or acquiring new token using refresh...
2025/05/27 14:20:23 Login successful. You can now perform authenticated operations with Yalla.
~ yalla update
Updating Yalla CLI...
Checking for latest version...
Getting download information...
Downloading update...
Applying update...
Update applied successfully.
Platform Reference
| OS | Architecture | Artifactory Path |
|---|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) | cli_darwin_arm64 |
| macOS | Intel | cli_darwin_amd64 |
| Linux | x64 | cli_linux_amd64 |
| Windows | x64 | cli_windows_amd64 |