# Install flarectl with Homebrew, apk, Nix

CLI application for interacting with a Cloudflare account. Version 0.117.0 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#flarectl.

## 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
- **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>
- **Last updated:** 2026-07-25T20:54:34-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- flarectl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.117.0
## 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

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


## Sources

- 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
