Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.68 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.68 KB

bk - The Buildkite CLI

Latest Release

A command line interface for Buildkite.

Install

On macOS, install with Homebrew:

brew install buildkite

Tip

The Homebrew core formula installs the command as buildkite. To use bk with the examples below, run alias bk=buildkite. Add that line to your shell configuration (~/.zshrc for Zsh or ~/.bashrc for Bash) to keep it across sessions.

Alternatively, install from Buildkite's tap, which provides bk directly:

brew install buildkite/buildkite/bk@3

For Linux, Windows, and other installation methods, see the installation guide, or download a binary from the releases page.

Authenticate

Sign in through your browser:

bk auth login

Stored credential refresh, login replacement, and logout coordinate across bk processes using private locks in the OS account's persistent home directory, independent of HOME or repository configuration. On Linux, these operations require an account found in /etc/passwd or by getent passwd (for example LDAP or SSSD; getent must be in /usr/bin or the NixOS system profile), with a writable home outside temporary directories. Environments without one can use BUILDKITE_API_TOKEN instead.

Documentation

See the official documentation for configuration, usage guides, and the command reference.