cli

command module
v3.67.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 39 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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 a local /etc/passwd entry and 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
api
auth
Package auth handles commands related to authentication via the CLI
Package auth handles commands related to authentication via the CLI
config
Package config provides commands for managing CLI configuration
Package config provides commands for managing CLI configuration
generate command
job
pkg
use
internal
cli
config
Package config contains the configuration for the bk CLI
Package config contains the configuration for the bk CLI
io
job
pipeline/setup
Package setup shares local pipeline setup between bk init and pipeline create.
Package setup shares local pipeline setup between bk init and pipeline create.
programstatus
Package programstatus reports what bk is doing to the terminal using the Program Status Protocol (OSC 7501), so terminals can show whether bk is working, waiting on the user, or finished.
Package programstatus reports what bk is doing to the terminal using the Program Status Protocol (OSC 7501), so terminals can show whether bk is working, waiting on the user, or finished.
pkg
keyring
Package keyring provides credential storage using the OS keychain, with an optional tmpfs-backed store for headless Linux hosts.
Package keyring provides credential storage using the OS keychain, with an optional tmpfs-backed store for headless Linux hosts.
oauth
Package oauth provides OAuth 2.0 PKCE authentication flow for CLI applications
Package oauth provides OAuth 2.0 PKCE authentication flow for CLI applications

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL