# 使用 Homebrew, Nix 安装 bigquery-emulator

查看 bigquery-emulator 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bigquery-emulator
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bigquery-emulator
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bigquery-emulator
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/bigquery-emulator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bigquery-emulator
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bigquery-emulator>
- **版本:** 0.8.1
- **来源摘要:** Emulate a GCP BigQuery server on your local machine
- **主页:** <https://github.com/goccy/bigquery-emulator>
- **仓库:** <https://github.com/goccy/bigquery-emulator>
- **许可证:** MIT
- **源码归档:** <https://github.com/goccy/bigquery-emulator/archive/refs/tags/v0.8.1.tar.gz>
- **最后更新:** 2026-07-26T10:56:33+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- bigquery-emulator (cli)
- bigquery-emulator (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.1
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/goccy/bigquery-emulator
- 检测到的最新版本: v0.8.1 (当前)
## 项目历史与用法

BigQuery Emulator is a Go-based local server that emulates Google BigQuery APIs for tests and development without a cloud project or credentials.

### 项目历史

The official README says the maintainer built the project in 2022 after a long-standing request for an official BigQuery emulator remained unresolved. GitHub metadata shows the repository was created on 2022-06-20, followed by early v0.1.x releases in July and August 2022.

### 采用历史

The project targets developers who need BigQuery-compatible integration tests. Its README documents use from the `bq` CLI, official Google client libraries, Docker images, Go embedding, and release archives; the input package facts show it packaged by Homebrew and Nix.

### 使用方式

Typical package use is to run `bigquery-emulator --project=test`, point clients at the local REST and gRPC ports, optionally persist state in SQLite, and seed datasets from YAML.

### 为什么软件包爱好者会关心

It is package-nerd interesting because it makes a cloud data warehouse workflow reproducible from a local binary: no service account, no live GCP project, and no heavyweight container stack if the CLI package is enough.

### 时间线

- 2022-06-20: GitHub repository created.
- 2022-07-09: v0.1.0 release published.
- 2022-08-07: v0.1.4 release published.

### Related projects

- Related projects and dependencies include Google BigQuery, the `bq` CLI, Google Cloud BigQuery client libraries, SQLite, and the maintainer's googlesqlite engine.

### 来源

- GitHub repository and release metadata from api.github.com.
- Official GitHub README.
- Package adoption from source_facts.package-manager.


## 安全说明

没有找到 bigquery-emulator 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** bigquery-emulator
- **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

## 其他软件包管理器记录

- Nix - bigquery-emulator: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bigquery-emulator/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [awscli-local](https://pkg.so/zh-hans/brew/awscli-local/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, testing.
- [testkube](https://pkg.so/zh-hans/brew/testkube/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, testing.
- [container-structure-test](https://pkg.so/zh-hans/brew/container-structure-test/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, testing.
- [azurite](https://pkg.so/zh-hans/brew/azurite/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, emulator.
- [c7n](https://pkg.so/zh-hans/brew/c7n/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, gcp.
- [fakecloud](https://pkg.so/zh-hans/brew/fakecloud/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, emulator.
- [kwok](https://pkg.so/zh-hans/brew/kwok/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, testing.
- [driftctl](https://pkg.so/zh-hans/brew/driftctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, gcp.
- [azurite](https://pkg.so/zh-hans/npm/azurite/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, cloud, cloud-infrastructure, emulator, infrastructure.

## Combined YAML source

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


## 来源

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