# 使用 Homebrew 安装 flintrock

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

## 安装

```sh
sudo av install brew:flintrock
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flintrock
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:flintrock
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/flintrock>
- **版本:** 2.1.0
- **来源摘要:** Tool for launching Apache Spark clusters
- **主页:** <https://github.com/nchammas/flintrock>
- **仓库:** <https://github.com/nchammas/flintrock>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/e9/3b/810c7757f6abb0a73a50c2da6da2dacb5af85a04b056aef81323b2b6a082/Flintrock-2.1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- flintrock (cli)
- flintrock (别名)

## 依赖

- cryptography
- libsodium
- libyaml
- python@3.14

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.1.0
- 本地数据: OK
- 上游仓库: https://github.com/nchammas/flintrock
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Flintrock is a command-line tool for launching Apache Spark clusters, especially short-lived EC2 clusters for experimentation, performance testing, and automated pipelines.

### 项目历史

The README explicitly positions Flintrock as a faster, better alternative to spark-ec2. Its motivation section says spark-ec2 made Spark accessible but had pain points around launch speed, missing config files, non-resizable clusters, and custom machine images.

Flintrock developed into a Python CLI with YAML configuration, subcommands for launch, destroy, login, describe, add-slaves, remove-slaves, run-command, and copy-file, and support for current Spark and Hadoop/HDFS defaults.

### 采用历史

The project README lists external talks, guides, and papers that used or discussed Flintrock, including a Spark Summit talk titled 'Flintrock: A faster, better spark-ec2'.

Official install guidance centers on pipx/PyPI and GitHub releases, while the README notes Homebrew as a community-supported distribution that may be out of date.

### 使用方式

A typical workflow is to run flintrock configure, save EC2 and Spark defaults into config.yaml, launch a cluster, work on Spark, and destroy the cluster afterward.

The README recommends IAM roles for S3 access rather than copying AWS credentials to clusters, and describes Flintrock as unsuitable for permanent infrastructure or non-Spark Hadoop services.

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

Flintrock is notable in package history as a CLI that wrapped a complicated cloud data workflow into a user-level package instead of a long-lived infrastructure framework.

Its packaging story also shows the boundary between official Python application distribution and community package-manager formulas: the project points users to pipx for current releases and marks Homebrew as community supported.

### 时间线

- 2016: Release v0.7.0 was published.
- 2017: Release v0.9.0 was published.
- 2020: Release v1.0.0 was published.
- 2021: Release v2.0.0 was published.
- 2023: Release v2.1.0 was published and standalone builds stopped after this line according to the README.

### Related projects

- Flintrock is directly related to Apache Spark, Hadoop/HDFS, Amazon EC2, spark-ec2, and S3A access through Hadoop.
- The README contrasts Flintrock with permanent-infrastructure tools such as Terraform, Ansible, Ubuntu Juju, Databricks, Amazon EMR, and Apache Bigtop.

### 来源

- <https://api.github.com/repos/nchammas/flintrock/releases>
- <https://github.com/nchammas/flintrock>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- 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

- Linux: $XDG_CONFIG_HOME/Flintrock/config.yaml, ~/.config/Flintrock/config.yaml
- macOS: ~/Library/Application Support/Flintrock/config.yaml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flintrock
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [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.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [kubernetes-cli](https://pkg.so/zh-hans/brew/kubernetes-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [ansible](https://pkg.so/zh-hans/brew/ansible/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, provisioning.
- [k9s](https://pkg.so/zh-hans/brew/k9s/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [opentofu](https://pkg.so/zh-hans/brew/opentofu/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, provisioning.
- [talosctl](https://pkg.so/zh-hans/brew/talosctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [etcd](https://pkg.so/zh-hans/brew/etcd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [cmctl](https://pkg.so/zh-hans/brew/cmctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [clusterctl](https://pkg.so/zh-hans/brew/clusterctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, cluster-management.
- [gimme-aws-creds](https://pkg.so/zh-hans/brew/gimme-aws-creds/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, cloud-infrastructure, cryptography, infrastructure.
- [k0sctl](https://pkg.so/zh-hans/brew/k0sctl/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.
- [osdctl](https://pkg.so/zh-hans/brew/osdctl/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.

## Combined YAML source

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


## 来源

- 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
- cross-ecosystem install command graph
