# Install fastly with Homebrew, Nix

Build, deploy and configure Fastly services. Version 15.4.0 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#fastly.

## Install

```sh
sudo av install brew:fastly
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fastly
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fastly
```

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

## Package facts

- **Package key:** brew:fastly
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fastly>
- **Version:** 15.4.0
- **Source summary:** Build, deploy and configure Fastly services
- **Homepage:** <https://www.fastly.com/documentation/reference/cli/>
- **Repository:** <https://github.com/fastly/cli>
- **Upstream docs:** <https://www.fastly.com/documentation/reference/cli/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/fastly/cli/archive/refs/tags/v15.4.0.tar.gz>
- **Last updated:** 2026-07-26T11:37:55+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- fastly (cli)
- fastly (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-08-04
- Package-manager version: 15.4.0
- Package-manager updated: 2026-07-26
- Local data: ok
- Upstream repository: https://github.com/fastly/cli
- Upstream latest detected: v15.4.0 (current)
## Project history and usage

Fastly CLI is the open-source command-line interface for the Fastly edge cloud. It packages service management, API access, VCL upload, Compute build/deploy workflows, authentication, and CI-friendly automation behind the fastly command.

### Project history

The fastly/cli GitHub repository was created in February 2020, and the changelog records v0.1.0 on February 5, 2020. The README describes it as a CLI for interacting with the Fastly platform and links to Fastly's official command reference.

The CLI evolved quickly through 2020 alongside Fastly's modern developer platform. Its release history shows a steady sequence of early v0.x releases, then continuing major versions as the command surface expanded across Compute, services, TLS, domains, stats, stores, authentication, and product-specific commands.

### Adoption history

Fastly CLI adoption is tied to Fastly customers and developers who need repeatable edge configuration from a terminal or CI system. The official docs explicitly position it as a way to create services, manage backends and domains, upload VCL, build and deploy Compute packages, and use Fastly from a code workspace or CI environment.

Unlike a general-purpose cloud CLI, Fastly CLI is a vendor CLI with package-manager distribution through Homebrew and other installers. Its value comes from matching Fastly's API and release cadence closely enough that edge configuration can be automated without hand-written API calls.

### How it is used

Common use starts with installation, authentication, and configuration, then moves to command groups such as service, domain, backend, compute, kv-store, secret-store, tls, stats, auth, profile, and whoami. The README also documents FASTLY_API_TOKEN for noninteractive authentication.

Compute workflows are a major use case: the CLI can initialize, build, serve, validate, pack, and deploy Compute packages. For legacy and CDN configuration, it also manages VCL upload and service resources such as domains and backends.

### Why package nerds care

Package nerds care about Fastly CLI because it is the installable boundary between local build systems and a production edge network. It has to behave well in shells, CI jobs, and developer laptops while tracking a vendor API that changes frequently.

Its changelog is also a good example of a cloud CLI as living infrastructure: frequent releases, SemVer, monthly release scheduling, auth migrations, dependency updates, and new command groups all show the maintenance burden hidden behind a simple brew install fastly.

### Timeline

- 2020: fastly/cli repository created on GitHub.
- 2020: v0.1.0 released on February 5.
- 2021: v0.24.0 released by February 2021 after rapid 2020 iteration.
- 2026: v15.x releases show ongoing monthly CLI maintenance.

### Related projects

- Fastly API is the service interface exposed by the CLI.
- Fastly Compute is one of the major build and deployment workflows handled by the CLI.
- go-fastly is the Go client dependency used by Fastly tooling.

### Sources

- <https://github.com/fastly/cli>
- <https://raw.githubusercontent.com/fastly/cli/main/README.md>
- <https://raw.githubusercontent.com/fastly/cli/main/CHANGELOG.md>
- <https://www.fastly.com/documentation/reference/cli>
- <https://www.fastly.com/documentation/reference/tools/cli>
- <https://api.github.com/repos/fastly/cli>


## Security Notes

No matching local secret-handling manifest was found for fastly. Package metadata is still published here so future coverage has a stable package URL.



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

- macOS: ~/Library/Application Support/fastly/config.toml
- Unix: $XDG_CONFIG_HOME/fastly/config.toml, ~/.fastly/config.toml

## Credential files

- macOS: ~/Library/Application Support/fastly/config.toml
- Unix: $XDG_CONFIG_HOME/fastly/config.toml, ~/.fastly/config.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fastly
- **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 - fastly: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fastly/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Cloud CLI packages](https://pkg.so/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [akamai](https://pkg.so/brew/akamai/) - Shares pkgdb curated category or tags: cdn, cli, cloud-infrastructure.
- [flarectl](https://pkg.so/brew/flarectl/) - Shares pkgdb curated category or tags: cdn, cli, cloud-infrastructure.
- [awscli](https://pkg.so/brew/awscli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [kubernetes-cli](https://pkg.so/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [helm](https://pkg.so/brew/helm/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [azure-cli](https://pkg.so/brew/azure-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [ansible](https://pkg.so/brew/ansible/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [colima](https://pkg.so/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure.
- [aws-sam-cli](https://pkg.so/brew/aws-sam-cli/) - Local metadata places this package in an adjacent workflow. Shared terms: build, cli, cloud, cloud-infrastructure, deploy.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
