# 使用 Homebrew, apk, Nix 安装 flarectl

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

## 安装

```sh
sudo av install brew:flarectl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flarectl
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add flarectl
```

  证据: Alpine Linux edge package indexes: flarectl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#flarectl
```

  证据: nixpkgs package indexes: pkgs/by-name/fl/flarectl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:flarectl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/flarectl>
- **版本:** 0.117.0
- **来源摘要:** CLI application for interacting with a Cloudflare account
- **主页:** <https://github.com/cloudflare/cloudflare-go/tree/v0/cmd/flarectl>
- **仓库:** <https://github.com/cloudflare/cloudflare-go>
- **上游文档:** <https://github.com/cloudflare/cloudflare-go/tree/v0/cmd/flarectl#readme>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/cloudflare/cloudflare-go/archive/refs/tags/v0.117.0.tar.gz>
- **最后更新:** 2026-05-21T00:12:04Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- flarectl (cli)
- flarectl (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.117.0
- 管理器更新时间: 2026-05-21
- 本地数据: OK
- 上游仓库: https://github.com/cloudflare/cloudflare-go
- 检测到的最新版本: v0.117.0 (当前)
## 项目历史与用法

flarectl is Cloudflare's command-line tool for interacting with a Cloudflare account. It lives under the cloudflare-go repository and the README describes it as powered by the cloudflare-go library.

### 项目历史

The official v0 branch git history shows the CLI being renamed from goflare to flarectl on 2015-12-06, followed by README and usage updates. The tool grew as a small CLI companion to the Go API client rather than as a separate platform.

### 采用历史

The README's installation path uses Go's module-aware install command from the cloudflare-go repository. Homebrew packages flarectl separately, which is typical for small command trees that live inside a larger library repository.

### 使用方式

flarectl authenticates with Cloudflare through environment variables for either an API token or an API key plus email. Its documented commands cover account and zone information, DNS records, firewall rules, page rules, user-agent blocking, Cloudflare IP ranges, Railgun information, and origin CA root certificates.

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

flarectl is notable as a packaged subdirectory CLI: the source of truth is a command inside a Go client library repository, but package managers expose it as its own executable for DNS and account automation workflows.

### 时间线

- 2015: goflare is renamed to flarectl in the v0 branch history.
- 2016: DNS, IP range, page-rule, and zone-related command work appears in the v0 branch history.
- 2017: The README usage output identifies a 2017.10.0 CLI version.

### Related projects

- flarectl is directly related to cloudflare-go, the Go Cloudflare API library that powers the CLI.

### 来源

- <https://formulae.brew.sh/formula/flarectl>
- <https://github.com/cloudflare/cloudflare-go/tree/v0/cmd/flarectl>
- <https://raw.githubusercontent.com/cloudflare/cloudflare-go/v0/cmd/flarectl/README.md>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - flarectl: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flarectl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - flarectl - 0.116.0-r6: normalized package name match | Alpine Linux edge package indexes: flarectl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI application for interacting with a Cloudflare account | https://github.com/cloudflare/cloudflare-go/tree/master/cmd/flarectl


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cloudflare-cli4](https://www.automicvault.com/zh-hans/pkg/brew/cloudflare-cli4/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloudflare, dns.
- [akamai](https://www.automicvault.com/zh-hans/pkg/brew/akamai/) - Shares av.db curated category or tags: cdn, cli, cloud-infrastructure.
- [cf-terraforming](https://www.automicvault.com/zh-hans/pkg/brew/cf-terraforming/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloudflare.
- [aiven-client](https://www.automicvault.com/zh-hans/pkg/brew/aiven-client/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [aliyun-cli](https://www.automicvault.com/zh-hans/pkg/brew/aliyun-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [filen-cli](https://www.automicvault.com/zh-hans/pkg/brew/filen-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [firebase-cli](https://www.automicvault.com/zh-hans/pkg/brew/firebase-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [firefly](https://www.automicvault.com/zh-hans/pkg/brew/firefly/) - Shares av.db curated category or tags: cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/flarectl.yml](https://github.com/automic-vault/db/blob/main/combined/flarectl.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
