# Install wgcf with Homebrew, apk, Nix, pacman, scoop, winget

Generate WireGuard profile from Cloudflare Warp account. Version 2.2.31 via Homebrew; verified 2026-05-23.

## Install

```sh
sudo av install brew:wgcf
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wgcf
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wgcf
```

  Evidence: Alpine Linux edge package indexes: wgcf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#wgcf
```

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

- pacman (92%):

```sh
sudo pacman -S wgcf
```

  Evidence: Arch Linux sync databases: wgcf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/wgcf
```

  Evidence: Scoop official bucket manifest trees: bucket/wgcf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ViRb3.wgcf -e
```

  Evidence: Windows Package Manager source index: ViRb3.wgcf from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:wgcf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wgcf>
- **Version:** 2.2.31
- **Source summary:** Generate WireGuard profile from Cloudflare Warp account
- **Homepage:** <https://github.com/ViRb3/wgcf>
- **Repository:** <https://github.com/ViRb3/wgcf>
- **Upstream docs:** <https://github.com/ViRb3/wgcf#readme>
- **License:** MIT
- **Source archive:** <https://github.com/ViRb3/wgcf/archive/refs/tags/v2.2.31.tar.gz>
- **Last updated:** 2026-05-23T12:40:26Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- wgcf (cli)
- wgcf (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: 2.2.31
- Package-manager updated: 2026-05-23
- Local data: ok
- Upstream repository: https://github.com/ViRb3/wgcf
- Upstream latest detected: v2.2.31 (current)
## Project history and usage

wgcf is an unofficial cross-platform CLI for Cloudflare WARP. Its job is narrow and practical: register or update a WARP account and generate a WireGuard profile that can be imported into normal WireGuard clients.

### Project history

The project was created in April 2020, one year after Cloudflare announced WARP for the 1.1.1.1 app and around the time Cloudflare opened the WARP desktop beta. wgcf succeeded ViRb3's earlier `cloudflare-warp-wireguard-client`, whose README says it was deprecated in favor of wgcf as a complete rewrite in Go with more features, native cross-platform binaries, and zero dependencies.

The timing matters because Cloudflare built WARP around WireGuard, but shipped it through official 1.1.1.1 and WARP clients. wgcf filled the gap for users who wanted standard WireGuard configuration files for routers, servers, alternative clients, and unsupported platforms.

### Adoption history

wgcf became a popular unofficial utility in the WARP/WireGuard niche. Its repository has thousands of stars, regular releases, and community tutorials that use the generated `wgcf-profile.conf` as the bridge between Cloudflare WARP and generic WireGuard tooling.

### How it is used

The README's core workflow is `wgcf register` to create an account file, then `wgcf generate` to write `wgcf-profile.conf`. Users can also attach an existing WARP+ license key, check account status, and run trace output to verify whether the resulting connection reports WARP or WARP+.

Because the project is explicitly unaffiliated with Cloudflare, its package-nerd role is best understood as compatibility glue. It exposes Cloudflare WARP account/profile details in the format expected by the broader WireGuard ecosystem.

### Related projects

- wgcf replaces the earlier `cloudflare-warp-wireguard-client` project by the same author, moving the idea from a Python script with dependencies to a Go CLI. It also depends conceptually on Cloudflare WARP and WireGuard, but is not an official Cloudflare client.

### Sources

- <https://api.github.com/repos/ViRb3/wgcf>
- <https://api.github.com/repos/ViRb3/wgcf/releases?per_page=100>
- <https://blog.cloudflare.com/1111-warp-better-vpn/>
- <https://blog.cloudflare.com/announcing-the-beta-for-warp-for-macos-and-windows/>
- <https://github.com/ViRb3/cloudflare-warp-wireguard-client>
- <https://github.com/ViRb3/wgcf>
- <https://raw.githubusercontent.com/ViRb3/wgcf/master/README.md>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- 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: wgcf-profile.conf
- Windows: wgcf-profile.conf

## Credential files

- Unix: wgcf-account.toml
- Windows: wgcf-account.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wgcf
- **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 - wgcf: normalized package name match | nixpkgs package indexes: pkgs/by-name/wg/wgcf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - wgcf - 2.2.29-r6: normalized package name match | Alpine Linux edge package indexes: wgcf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Unofficial CLI for Cloudflare Warp | https://github.com/ViRb3/wgcf
- apk - wgcf-bash-completion - 2.2.29-r6: normalized package name match | Alpine Linux edge package indexes: wgcf-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for wgcf | https://github.com/ViRb3/wgcf
- apk - wgcf-fish-completion - 2.2.29-r6: normalized package name match | Alpine Linux edge package indexes: wgcf-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for wgcf | https://github.com/ViRb3/wgcf
- apk - wgcf-zsh-completion - 2.2.29-r6: normalized package name match | Alpine Linux edge package indexes: wgcf-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for wgcf | https://github.com/ViRb3/wgcf
- pacman - wgcf - 2.2.31-1: normalized package name match | Arch Linux sync databases: wgcf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Generate WireGuard profile from Cloudflare Warp account | https://github.com/ViRb3/wgcf
- Scoop - main/wgcf: normalized package name match | Scoop official bucket manifest trees: bucket/wgcf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - ViRb3.wgcf: normalized package name match | Windows Package Manager source index: ViRb3.wgcf from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [wireguard-go](https://www.automicvault.com/pkg/brew/wireguard-go/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [boringtun](https://www.automicvault.com/pkg/brew/boringtun/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [headscale-cli](https://www.automicvault.com/pkg/brew/headscale-cli/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [tailscale](https://www.automicvault.com/pkg/brew/tailscale/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [wireguard-tools](https://www.automicvault.com/pkg/brew/wireguard-tools/) - Shares av.db curated category or tags: cli, networking, vpn, wireguard.
- [dsvpn](https://www.automicvault.com/pkg/brew/dsvpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [edgevpn](https://www.automicvault.com/pkg/brew/edgevpn/) - Shares av.db curated category or tags: cli, networking, vpn.
- [fastd](https://www.automicvault.com/pkg/brew/fastd/) - Shares av.db curated category or tags: cli, networking, vpn.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
