# Install wikibase-cli with Homebrew

Command-line interface to Wikibase. Version 20.3.1 via Homebrew; verified 2026-08-01.

## Install

```sh
sudo av install brew:wikibase-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wikibase-cli
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:wikibase-cli
- **Package manager:** Homebrew
- **Version:** 20.3.1
- **Source summary:** Command-line interface to Wikibase
- **Homepage:** <https://codeberg.org/maxlath/wikibase-cli>
- **Last updated:** 2026-08-01T02:49:35Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- wb (alias)
- wd (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 20.3.1
## Project history and usage

wikibase-cli is a command-line interface for Wikidata and other Wikibase installations. Its own README describes it as a CLI layer over the JavaScript wikibase-edit and wikibase-sdk modules, with extra terminal-oriented commands and a batch mechanism intended for large edit runs.

### Project history

The tool was primarily developed around Wikidata, then generalized so the same command-line workflow could target arbitrary Wikibase instances. That transition mirrors the wider Wikibase ecosystem: Wikidata is the largest public deployment, while institutional and private Wikibase installations need the same read, edit, and scripting primitives.

### How it is used

In practice, wikibase-cli is used as a terminal alternative to browser-based editing and as a scripting tool for repeated or bulk edits. The Wikidata tools page describes it as based on wikibase-edit and usable from scripts to run many edits, which is the niche where package users are most likely to meet it.

### Why package nerds care

For package collections, wikibase-cli is notable less as a standalone data store than as a small automation surface over a knowledge-graph stack. Its `wb` and `wd` executables make Wikibase operations feel like ordinary shell commands, which is useful for data-cleaning, bot, and reconciliation workflows.

### Related projects

- wikibase-cli sits on top of wikibase-edit and wikibase-sdk and targets Wikidata as well as other Wikibase deployments.

### Sources

- <https://codeberg.org/maxlath/wikibase-cli>
- <https://github.com/maxlath/wikibase-cli/blob/main/README.md>
- <https://www.wikidata.org/wiki/Wikidata:Tools/WikibaseJS-cli>


## Security Notes

No matching local secret-handling manifest was found for wikibase-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/wikibase-cli/config.json
- Windows: %USERPROFILE%\wikibase-cli\config\config.json

## Credential files

- Unix: ~/.config/wikibase-cli/config.json
- Windows: %USERPROFILE%\wikibase-cli\config\config.json

## Combined YAML source

View the package source record on GitHub. [combined/wikibase-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wikibase-cli.yml)


## Sources

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
