# 使用 Homebrew 安装 wikibase-cli

查看 wikibase-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:wikibase-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wikibase-cli>
- **版本:** 20.3.1
- **来源摘要:** Command-line interface to Wikibase
- **主页:** <https://codeberg.org/maxlath/wikibase-cli>
- **上游文档:** <https://codeberg.org/maxlath/wikibase-cli>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/wikibase-cli/-/wikibase-cli-20.3.1.tgz>
- **最后更新:** 2026-08-01T02:49:35Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wb (cli)
- wd (cli)
- wb (别名)
- wd (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 20.3.1
- 管理器更新时间: 2026-08-01
- 本地数据: OK
- 上游仓库: https://codeberg.org/maxlath/wikibase-cli
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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.

### 项目历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 来源

- <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>


## 安全说明

没有找到 wikibase-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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:** 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


## 相关链接

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


## 来源

- 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
