# Install flarectl with Homebrew, apk, Nix

CLI application for interacting with a Cloudflare account. Version 0.117.0 via Homebrew; verified 2026-05-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install flarectl
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add flarectl
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:flarectl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/flarectl>
- **Version:** 0.117.0
- **Source summary:** CLI application for interacting with a Cloudflare account
- **Homepage:** <https://github.com/cloudflare/cloudflare-go/tree/v0/cmd/flarectl>
- **Repository:** <https://github.com/cloudflare/cloudflare-go>
- **Upstream docs:** <https://github.com/cloudflare/cloudflare-go/tree/v0/cmd/flarectl#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/cloudflare/cloudflare-go/archive/refs/tags/v0.117.0.tar.gz>
- **Last updated:** 2026-05-21T00:12:04Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- flarectl (cli)
- flarectl (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.117.0
- Package-manager updated: 2026-05-21
- Local data: ok
- Upstream repository: https://github.com/cloudflare/cloudflare-go
- Upstream latest detected: v0.117.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
