Installs bkt to
~/.local/bin
(Mac/Linux) or
%USERPROFILE%\.local\bin
(Windows).
/bin/bash -c "$(curl -fsSL https://xentixar.github.io/bkt-builds/install/mac)"
bkt version bkt auth login --app-password
`bkt` supports both API token auth (recommended) and OAuth consumer auth.
read:user:bitbucket,
read:repository:bitbucket,
write:repository:bitbucket,
admin:repository:bitbucket,
read:workspace:bitbucket,
admin:workspace:bitbucket.
pullrequest:*:bitbucket,
pipeline:*:bitbucket,
issue:*:bitbucket,
snippet:*:bitbucket.
bkt auth login --app-password # Bitbucket username: your Atlassian email (e.g. you@example.com) # Bitbucket app password: <paste the API token>
http://127.0.0.1:<port>/oauth/callback).# with flags bkt auth login --client-id "$BKT_CLIENT_ID" --client-secret "$BKT_CLIENT_SECRET" # or via env vars export BKT_CLIENT_ID="..." export BKT_CLIENT_SECRET="..." bkt auth login