# cloudflare-cli4 を Homebrew でインストール

cloudflare-cli4 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cloudflare-cli4
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cloudflare-cli4
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:cloudflare-cli4
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.19.4.post3
- **ソース概要:** CLI for Cloudflare API v4
- **ホームページ:** <https://github.com/cloudflare/python-cloudflare-cli4>
- **リポジトリ:** <https://github.com/cloudflare/python-cloudflare-cli4>
- **最終更新:** 2026-05-20T11:48:50Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cli4 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.19.4.post3
## プロジェクトの歴史と使われ方

cloudflare-cli4 is Cloudflare's standalone packaging of the legacy cli4 Python command for calling Cloudflare API v4 endpoints from a shell.

### プロジェクトの歴史

The official README says this repository is a snapshot of the cli4 Python tool that was originally packaged with the cloudflare Python package, and that starting with cloudflare v3 the CLI was split out and no longer actively developed.

### 採用の歴史

Its package history is tied to Python packaging and Cloudflare API users: the README shows pip-style installation from the repository, while the input record identifies the Homebrew formula cloudflare-cli4.

### 使われ方

The cli4 command maps shell arguments to Cloudflare API paths, supports JSON/YAML/NDJSON output, HTTP methods, profiles, headers, and configuration-backed API keys or tokens.

### パッケージ好きにとっての重要性

For package maintainers, cloudflare-cli4 is notable as a compatibility package: it preserves the older CLI workflow after the main Python Cloudflare package changed direction.

### タイムライン

- 2016-2024: The README copyright span identifies Cloudflare-maintained history for the code.
- 2024: GitHub releases list 2.19.4 as the published release.
- 2024: The standalone repository's README says cli4 was split from the cloudflare Python package when that package reached v3 and was no longer actively developed.

### Related projects

- The README identifies the former parent package as the cloudflare Python package, and the docs target Cloudflare API v4.

### ソース

- <https://developers.cloudflare.com/api/ is the official Cloudflare API reference.>
- <https://github.com/cloudflare/python-cloudflare-cli4#readme documents the repository as the standalone cli4 snapshot, usage, and ~/.cloudflare/cloudflare.cfg.>
- source_facts.package-manager lists the Homebrew formula cloudflare-cli4.


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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: ~/.cloudflare/cloudflare.cfg

## Credential files

- Unix: ~/.cloudflare/cloudflare.cfg

## Combined YAML source

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


## ソース

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