pkg.soopen package index

brew / 排名 1850

使用 Homebrew, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 wp-cli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wp-cli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wp-cli

MacPorts ports tree · www/wp-cli/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install wp-cli

Fedora Rawhide package metadata · wp-cli · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#wp-cli

nixpkgs package indexes · pkgs/by-name/wp/wp-cli/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S wp-cli

Arch Linux sync databases · wp-cli · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install wp-cli

openSUSE Tumbleweed package metadata · wp-cli · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/wp-cli

Scoop official bucket manifest trees · bucket/wp-cli.json · 来源: api.github.com

概览

软件包摘要

Command-line interface for WordPress

命令和别名

  • wp

历史

项目历史与用法

WP-CLI is the command-line interface for WordPress: a scriptable way to install, configure, update, inspect, and operate WordPress sites without using the browser admin. WordPress.org describes it as the official command-line tool for interacting with and managing WordPress sites.

项目历史

The WP-CLI GitHub repository was created on 2011-09-10, and the current WordPress.org page says WP-CLI has shipped continuously since 2011. A 2016 project post identifies Andreas Creten as WP-CLI's founder and Daniel Bachhuber as maintainer, capturing the project's mid-2010s concern with reducing its bus factor and strengthening long-term governance.

In late 2016, WP-CLI's sustainability discussion became public. Daniel Bachhuber wrote that WP-CLI had become too large to maintain purely as volunteer work, and an update on 2016-12-28 announced that WP-CLI was now an official WordPress project. The January 2017 follow-up framed this as a continuation plan: development would continue on GitHub, the website would move toward WordPress.org, and responsibility would no longer rest on one maintainer.

采用历史

By May 2016, Bachhuber described WP-CLI as hugely important to the WordPress ecosystem, with thousands of regular developers and tens or hundreds of companies integrating it deeply into business processes. That adoption reflected a clear need in WordPress operations: repeatable admin tasks, deployment steps, content imports, database changes, and plugin/theme work are easier to automate from a CLI than through a web UI.

WP-CLI's officialization also reflected WordPress's broader ecosystem model. It remained a community-maintained tool, but with a clearer home under WordPress.org and public governance for releases and contribution.

使用方式

Typical WP-CLI usage starts with the wp command. Developers run commands such as wp core download or update, wp plugin install or activate, wp db export, wp search-replace, wp user, wp cron, and wp media to script site administration. The official command reference lists commands for core, config, database, cron, media, menus, users, posts, and many other WordPress subsystems.

WP-CLI is also extensible: WordPress.org describes custom commands and community packages, and many hosts, deployment scripts, CI jobs, and maintenance playbooks rely on it as the stable automation surface for WordPress.

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

WP-CLI is significant because it turned a browser-centered CMS into something Unix-shaped: commands, subcommands, config files, exit statuses, and scripts. For package maintainers and operations engineers, it is the standard bridge between WordPress and normal deployment automation.

It is also an example of a community tool becoming official infrastructure after adoption proved its importance. The project did not start as WordPress core, but by 2016-2017 its ecosystem role was large enough that WordPress.org stewardship became the maintenance answer.

时间线

  • 2011-09-10: wp-cli/wp-cli GitHub repository is created.
  • 2014-03-27: v0.12.0 is published in GitHub releases.
  • 2016-05-12: Public GitHub issue discusses WP-CLI's bus factor and organizational stability.
  • 2016-12-28: Make WordPress update announces WP-CLI is now an official WordPress project.
  • 2017-01-03: Follow-up post explains the official WordPress.org transition.
  • 2025-05-07: v2.12.0 is published in GitHub releases.

Related projects

  • WordPress core is the CMS that WP-CLI operates.
  • The WP-CLI command reference and Make WordPress CLI handbook are the official documentation surfaces.
  • Community WP-CLI packages extend the base command set.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
wp-cli.local.ymlwp-cli.yml~/.wp-cli/config.yml${WP_CLI_CONFIG_PATH}

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wp可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.12.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wp-cli
版本2.12.0
软件包管理器Homebrew
主页https://wp-cli.org/
仓库https://github.com/wp-cli/wp-cli
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

wp-cli

nix profile install nixpkgs#wp-cli
  • normalized package name match
  • 匹配方式:Wp Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wp/wp-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

wp-cli 2.12.0-2.fc45

The command line interface for WordPress

http://wp-cli.org/

sudo dnf install wp-cli
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: wp-cli
  • 1 提供
  • normalized package name match
  • 匹配方式:Wp Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: wp-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

wp-cli 2.12.0-1

A command-line tool for managing WordPress

http://wp-cli.org

sudo pacman -S wp-cli
  • License: MIT
  • Architecture: any
  • 1 依赖
  • normalized package name match
  • 匹配方式:Wp Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wp-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wp-cli 2.12.0-1.3

WordPress command-line interface

https://wp-cli.org/

sudo zypper install wp-cli
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: wp-cli
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Wp Cli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wp-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

wp-cli

sudo port install wp-cli
  • normalized package name match
  • 匹配方式:Wp Cli
MacPorts ports tree · api.github.com · MacPorts ports tree: www/wp-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/wp-cli

scoop install main/wp-cli
  • normalized package name match
  • 匹配方式:Wp Cli
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/wp-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation