# fastly を Homebrew, Nix でインストール

fastly のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fastly
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:fastly
- **パッケージマネージャ:** Homebrew
- **バージョン:** 15.4.0
- **ソース概要:** Build, deploy and configure Fastly services
- **ホームページ:** <https://www.fastly.com/documentation/reference/cli/>
- **リポジトリ:** <https://github.com/fastly/cli>
- **最終更新:** 2026-07-26T11:37:55+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fastly (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 15.4.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

fastly に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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
## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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


## ソース

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