# 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
- **Package manager page:** <https://formulae.brew.sh/formula/wikibase-cli>
- **Version:** 20.3.1
- **Source summary:** Command-line interface to Wikibase
- **Homepage:** <https://codeberg.org/maxlath/wikibase-cli>
- **Upstream docs:** <https://codeberg.org/maxlath/wikibase-cli>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/wikibase-cli/-/wikibase-cli-20.3.1.tgz>
- **Last updated:** 2026-08-01T02:49:35Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- wb (cli)
- wd (cli)
- wb (alias)
- wd (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 20.3.1
- Package-manager updated: 2026-08-01
- Local data: ok
- Upstream repository: https://codeberg.org/maxlath/wikibase-cli
- info: Release/tag comparison is only available for GitHub repositories.
## 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. 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wikibase-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [node](https://pkg.so/brew/node/) - Runtime dependency declared by Homebrew.
- [typedb](https://pkg.so/brew/typedb/) - Shares pkgdb curated category or tags: cli, data, knowledge-graph.
- [virtuoso](https://pkg.so/brew/virtuoso/) - Shares pkgdb curated category or tags: cli, data, knowledge-graph.
- [sqlite](https://pkg.so/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [redis](https://pkg.so/brew/redis/) - Shares pkgdb curated category or tags: cli, data.
- [gdbm](https://pkg.so/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data.
- [freetds](https://pkg.so/brew/freetds/) - Shares pkgdb curated category or tags: cli, data.
- [cubejs-cli](https://pkg.so/brew/cubejs-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, data, interface, line.
- [sanity](https://pkg.so/brew/sanity/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, data, interface, line.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
