bb

vriesdemichael·vriesdemichael.bb

A CLI for Bitbucket Server / Bitbucket Data Center

bb works with Bitbucket Data Center and Bitbucket Server from the command line, the way gh works with GitHub: pull requests, repositories, branches, tags, commits, build status and permissions. Every command can answer in JSON for scripts, and bb ai mcp serve exposes it to AI agents over the Model Context Protocol. It is not for Bitbucket Cloud.

winget install --id vriesdemichael.bb --exact --source winget

Latest 6.1.0·October 26, 2026

Release Notes

v6.1.0 bb v6.1.0 gives administrators who set bb's policy through Group Policy a template to do it with, and sets up shell completion for Windows PowerShell 5.1 when you run the setup from PowerShell 7. It is a minor release with no breaking changes. For administrators

  • A Group Policy template for bb's Windows policy (#776): bb reads its machine policy from HKEY_LOCAL_MACHINE\Software\Policies\bb, but there was no administrative template for it, so setting it through Group Policy meant writing registry items by hand. Each release now publishes bb_policy_templates.zip, holding bb.admx and en-US/bb.adml. Extract it into the PolicyDefinitions folder of your central store, and every value bb reads is a setting under Computer Configuration > Administrative Templates > bb, the Bitbucket Data Center CLI, with help that names the registry value it writes. Take the template from the release you deploy, since it offers the values that release reads. Fleet deployment has the steps. Fixes worth knowing
  • bb completion install run from PowerShell 7 sets up Windows PowerShell 5.1 as well (#819): It set PowerShell 7 up, then printed a block of PowerShell error text and left Windows PowerShell 5.1 without completion. Both are set up now, and bb doctor and bb completion remove find the 5.1 profile too. If you ran the setup from PowerShell 7 before, run it again to add 5.1: bb completion install --shell powershell Changes since v6.0.0. Compare: v6.0.0...v6.1.0 Features
  • policy: publish a Group Policy template for the registry values bb reads (959a6d6) Fixes
  • completion: ask Windows PowerShell 5.1 without PowerShell 7's module path (2ad5409) Refactors
  • pr: move helpers used by one group next to it (c4db3f3)
  • pr: build each group of pr subcommands in its own file (124eb46) Docs
  • release: write the v6.1.0 notes for the upgrader (30033a5) Tests
  • pr: hold every pr command to a configuration it cannot load and a malformed --repo (14358ec) Build
  • release: check that the local next is origin/next before a promotion (140294e) CI
  • link the rules and say how to rebase in the retarget comment (1faecc8)
  • move a pull request opened against main to next (543112f)
  • live: keep Bitbucket's whole log when the live job fails (9ad7101) Chores
  • deps: Bump certifi in /docs in the uv group across 1 directory (b8e3262)
  • deps: Bump astral-sh/setup-uv from 10.3.0 to 10.3.2 (e6209fa)
  • quality: stop counting three commit endpoints pr.go only matched by name (4a96415)
  • deps: Bump the gomod-minor-patch group with 4 updates (780c82b)
  • deps: Bump actions/setup-python from 7.0.0 to 7.1.0 (1014382)
  • deps: Bump the gomod-minor-patch group with 4 updates (1004711)

Installer type: zip

x64—6ED93F5C0F8387020F2450C09AF657300E1BFE72B7A027D1B255F97646BF6EA4
arm64—699C9CB0BB8E02299CFCDBA8AE04CA8768C7A0F47CF72C837B7551D054FBE8A6

Details

Homepage
https://github.com/vriesdemichael/bitbucket-data-center-cli
License
Apache-2.0
Publisher
vriesdemichael
Support
https://github.com/vriesdemichael/bitbucket-data-center-cli/issues
Moniker
bb

Tags

atlassianbitbucketbitbucket-data-centerbitbucket-serverciclidevopsgolangmcppull-requests

Older versions (67)

6.0.0
x64—FD0730FB7E881177F6E65B9B4626F7F50588A5ABC41A1C2CA5B631485BA039D0
arm64—D8F9984406AD82C68D215700027E4D4454D0F60910AEC6EE4EFA1264FACD9880
5.0.1
x64—5673053BB2318C7D3A6F5E96997B2146BF4CF7AB20DE0959AA30A6CBAAE50BF6
arm64—435951C79DE013996DAA0BAEF17355F9320FEA75ED9BD9246958B2799CDCF218
5.0.0
x64—AF3AE7503E87DBF0E97366DA9EA57F0A4AE7967E94CE64C76AC46F1419DCFED2
arm64—2220E5907263752D672B70E91387CB7AE4BFAC3E7ED659168A8B6D94AA107DDB
4.1.0
x64—7EC28582BB2E39AF6BAC8AA4E4AEA9568502A58A4F33C5F824E83659D4248D1F
arm64—65CAF62FA3B141C6D9227001E618491ABA6705FB800943C8DE9329C3BF6F23EA
4.0.0
x64—BF06762E135165FE31A3C8CDE04C21FC4928BD3185727C3BEFBE6E61D04889A4
3.5.2
x64—097A6EDA9152209BF5DD7F169754D6DC7779FF181E5C5EF42123C9EB5D2426AB
3.5.1
x64—5880621F7D24C07B131113CF28A7909737988CC0D97C78A87FEBB311C8F23FAA
3.5.0
x64—890F9751EE86EFA15F19DB0B219BBD9C4B79F873BA61A76A261F200922D497E8
3.4.0
x64—0AC8615CF830B86E4BC56FA4DB10CFEF770972DD59565201DE7F7808CDE4E521
3.3.2
x64—93DDF0A5CE370C6EB7EDFABED242601BB6A8CD7606D896DD719328C23286D44A
3.3.1
x64—ADAF27BFFFC00A906450A550EE8F8FBF7E570061FC5B6E9E9D7AC200F2307841
3.3.0
x64—2B6D46B2168CBF08BC99E2B92747D400E7D7441D713379FA2371DC6C2B7BFACF
3.2.0
x64—90FE637D3AE2E2605D4F996D7757476E9731EBF2182627C242E319D306ACE7FD
3.1.0
x64—5E7E020E8F6DBF801E234104A1803E453012D370565D5699F61455AEDF9DA24B
3.0.0
x64—BC12EB55402DC98B37F6DB0E595D198308A119080F16C2A1AD11842B618F184F
2.12.0
x64—F6B4F9D204C8CD614C861A555FD84649E217026E7724F43AB8C9B88BE5C6C83C
2.11.0
x64—3BEC8B5A169B5C13BFF6E58A4684C442900BD157D2E58D759DDC51463C92D7F1
2.10.0
x64—8D7B8B56BF688A312D2E53B742065F44F80D4765063172EEC8B5D2902C9BD56E
2.9.1
x64—9957214CF05704FF8C91BD75A55A1EB00BDE96687E9BBAB88C4A044F5BFDF8AA
2.9.0
x64—2E2744E75A5BAFC78A5211F3BC77BF5530A73A0EDBFEC06F7DB017F0CDC552FA
2.8.0
x64—C23853E4EFF4CD3B467CEE861C57E9C317F927F102CDF886100F313E3B7F79D3
2.7.3
x64—6A061CB32D09B3A8EA2B38E56E526509933CA764AA8B7C3B1052F000708F3CE5
2.7.2
x64—75ED3E52411E4B37B2E927C8F699E789153FADE396F1B3AD0F5C6BF2764E5785
2.7.1
x64—6656469EE298E07A4633F27776A5863ACDF36C0B6B80625DE5A1AE632DE129C4
2.7.0
x64—2A8AABC9DA0624AE77DF42EE5F1FFA1EEBBE1F0459805E6306006094DB569344
2.6.2
x64—5317F4F5A6CA5783CBD57909F0DBD72406D0545CB2AC8B127B8180C1F0238FD7
2.6.1
x64—00ED39BE21BBBDC0377BB477B9A9223F67B72FA258F6843889DB9F93071407CE
2.6.0
x64—00397C415A9D95C78DC453F35E7255CBF9B3452A9E5073C177D07776B79A548A
2.5.0
x64—785189610909328F2C02906E14C515260CDBC8B8B206E0BC3673BC5C3F23E329
2.4.0
x64—2AEA703AF903416B74C52461C877FDCF7825AB183378406B59DA41CE0B18236A
2.3.0
x64—E468D0BB3260393B2BCE2EA736E4C17D3B283E1897960E19A6B63AC9F2AD8742
2.2.0
x64—51AF751CA42A8FE8D14D6FB28B89D8AFBCBB4208BF3DBF579400B465887D271F
2.1.0
x64—50A6522EDF9A3A3382937DE791701EE6CB8EB159EA9DA860960E228E5F2602DB
2.0.7
x64—CA8972BA00EF267C5224FDFDBBFB981FD04E7F00EC9547FD00D306892E2A66F2
2.0.6
x64—1F32653EC9E737CB81E6277A2A477859D475E15D99B9933CF00062108DF7857D
2.0.5
x64—E07B0B1AEC02E2CD96BA5444E510E2EBA6A885B979B6936B11EFE8574BA60B7F
2.0.4
x64—C0DF5A56996EE8269A8905BB130AC1B87802DC5D27B66CD099C25E0B6DD12991
2.0.3
x64—D44241AFEEA325E744DDCFF261DF58DC7F6516F21A9CEFE26602B9F2647CC8C4
2.0.2
x64—2DB15F0B92AADF66E83CD978D6DC942D30F4A81DA1122BD8F4282F5816618A98
2.0.1
x64—B91B036C16315C548D0CFB3B89D42D7CC60FA6DE815EC10941B19CA871EE0745
2.0.0
x64—A9B4561FF968C0C9D560D732E779FD84D932CF79407147A665F0EF1A47F3574C
1.38.2
x64—CBA98D92CD82496BD7E9FE7D9A70FD7DDA6CB86AD4B1CB1195C5556C4CEF8DD4
1.38.1
x64—D5DECC50E69497120B87A10BDFB4F2B7FC69FEEF963955998E07252E1C3CF709
1.38.0
x64—A71157C90CEC2DE528CB64AC0F9B5F379A7D7744D3729514C2D7DE5C94F7406B
1.37.3
x64—96C20A97EA9A07ACE90CB40BCAB9E014AE1712B1D7D559A99C824692743DAE77
1.37.2
x64—4CDBBBDCAD624E46B28881E87F050DDD677F2B8070ECB9AF0623D3ABAEB28C0D
1.37.1
x64—7265D3B0F5B3177697C99E2A9F86F280D55D31FDA48C53FD65C8036733798D19
1.37.0
x64—9872667C50004ABC3B49DDE5BC2ECB8EC1CCD8028A90038AB49285A2787512C7
1.36.0
x64—376DA8D1178606B6D36D56761A768FD98634D8B566F2DE828256758C59F85D8C
1.35.2
x64—4F86E75ECDD67239C369E6DB17BDADD5DEF2E2F9986C1036E6B25DC4CB470921
1.35.1
x64—3850FB7D227014912FCF0022D46D242CA86594D39DE97BA45A530B154488B345
1.21.0
x64—B8EBA36B817CA579AE72AE08DE6F9AC615FE151F4000D9D8B9B6A9F6F9C9F85B
1.20.1
x64—78C4CF87D59F4F89CD6849B8393FFECA5B6D6BDCFF2E12B4DF542BDB268B83AE
1.20.0
x64—6993FFE6C3E79FA6C20A0198359B0208686ED162F9FAAC22FB497667BDDF37CC
1.19.2
x64—BE4FF8EFB340D903C6DF829A0D4068790B0DDFD18DC2D0D235E4678071E18344
1.19.1
x64—4400D7702532E080D358E217B83F0C7777701C6BE48DEE6D6CE7CF7833E5C9AC
1.19.0
x64—E9E8AA59318FC1F7916CB6E03175157439B038BE331A17A684A2BD20215CB0BB
1.18.12
x64—CDA028976B16A5B70C5656463ADE7CBF51DD659896E6FFAFA8074D62C0F55D5B
1.18.11
x64—D41397BB1D2A0A4A89E1C2173DA163F7282BE21AF2523A7041FFD590965A893F
1.18.10
x64—54C1CBCC09DA6EBEEE9A6D1B88B914011FC7EAB527BF75A05ED21F4E2D247A71
1.18.9
x64—5BAB826193F8F3C6D69E801689CE001AC690E321B0A61914CA798A7FF8B18245
1.18.8
x64—39A90F0D416A1F53DACA0EDB2383387679432CD725D20826EA47D9D7901D75AC
1.18.7
x64—AEF6396728057CFC6065EFD7FA527DB834A0A6C83BD0AA566C6D906F6E6C825D
1.18.6
x64—39F3D3EEF61797A753C383D5350DEA2623AEA9147C1B025AEFB319DF6882CD73
1.18.5
x64—20288102940F794562A9EBC57A959BD399ACCFC40F262A21CDAAB19586E1C5BB
1.18.4
x64—E416EFF7E2135B60279A1158C4ED9017E25120F5B8691F6F2BA14EE96175491D
1.15.0
x64—3F9B46C0EF390DD8D93138A7420DEBB50C2D00A3BEE11EE532566570B037A81F