Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manages Bitbucket Data Center and Cloud repositories, pull requests, branches, issues, webhooks, and pipelines via the bkt CLI.
29% 96%+67 ptsof test cases passed
Passed 23 of 24 test cases with the skill, and 7 of 24 without it.
How do I authenticate with a Bitbucket Data Center instance hosted at git.internal.company.com using a personal access token for user dev_user? Provide the exact CLI command.
Uses bkt auth login https://git.internal.company.com
3 of 3 safety checks passed
bkt is a unified CLI for Bitbucket Data Center and Bitbucket Cloud. It mirrors gh ergonomics and provides structured JSON/YAML output for automation.
1. Verify installation — always check before running any bkt command:
bkt --version
If not installed:
| Platform | Command |
|---|---|
| macOS/Linux | brew install avivsinai/tap/bitbucket-cli |
| Windows | scoop bucket add avivsinai https://github.com/avivsinai/scoop-bucket && scoop install bitbucket-cli |
| Go | go install github.com/avivsinai/bitbucket-cli/cmd/bkt@latest |
| Binary | Download from GitHub Releases |
2. Check authentication — most commands require an active session:
bkt auth status
Bitbucket Cloud Token Requirements:
read:user:bitbucket)For config-free use in containers and CI pipelines, see headless authentication.
If not authenticated, log in:
# Data Center (PAT-based)
bkt auth login https://bitbucket.example.com --username alice --token <PAT>
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.