# 使用 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
- **版本:** 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>
- **最后更新:** 2026-07-25T20:54:34-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- flarectl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

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


## Combined YAML source

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


## 来源

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