# snapcraft を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:snapcraft
```

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

### macOS

- Homebrew (100%):

```sh
brew install snapcraft
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:snapcraft
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/snapcraft>
- **バージョン:** 9.0.1
- **ソース概要:** Package any app for every Linux desktop, server, cloud or device
- **ホームページ:** <https://snapcraft.io/>
- **リポジトリ:** <https://github.com/canonical/snapcraft>
- **上流ドキュメント:** <https://snapcraft.io/>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/canonical/snapcraft.git>
- **最終更新:** 2026-07-22T01:16:56Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- snapcraft (cli)
- snapcraftctl-compat (cli)
- snapcraft (エイリアス)
- snapcraftctl-compat (エイリアス)

## 依存関係

- certifi
- cryptography
- libsodium
- libyaml
- lxc
- pydantic
- pygit2
- python@3.14
- snap
- xdelta

## macOS 提供ライブラリ

- libffi
- libxml2
- libxslt

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 9.0.1
- マネージャ更新日: 2026-07-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/canonical/snapcraft
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Snapcraft is Canonical's command-line build tool for packaging and distributing applications as snaps. It centers on a project file named snapcraft.yaml and the Snap Store publishing workflow.

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

The public Snapcraft repository was created in 2015. Its README describes Snapcraft as a command-line build tool that packages software into the snap container format and can register and upload revisions to the Snap Store.

### 採用の歴史

Snapcraft's adoption is tied to the Snap ecosystem: it is the build-side tool for developers producing snaps for Linux distributions, servers, cloud images, desktops, and IoT devices. The supplied package facts include a Homebrew formula, while the official README says Snapcraft itself is distributed as a snap and also through traditional package repositories.

### 使われ方

Developers run snapcraft init to create snapcraft.yaml, define build and runtime details in that project file, then use snapcraft pack, register, and upload for packaging and store publication.

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

Snapcraft matters to package nerds because it is both a package in package managers and a package-producing tool. It exposes the tradeoffs of self-contained app bundles, store revisions, cross-distribution Linux packaging, and project metadata in a single YAML file.

### タイムライン

- 2015: Public GitHub repository created.
- 2015-2025: Official README copyright range identifies Canonical stewardship.
- 2026: Official documentation remains published at documentation.ubuntu.com.

### Related projects

- The official README connects Snapcraft to snap packages, the Snap Store, snapcraft.io, Ubuntu documentation, and Canonical's broader open documentation work.

### ソース

- <https://api.github.com/repos/canonical/snapcraft>
- <https://documentation.ubuntu.com/snapcraft/latest/>
- <https://documentation.ubuntu.com/snapcraft/latest/reference/snapcraft-yaml/>
- <https://github.com/canonical/snapcraft#readme>
- source_facts.package-manager


## セキュリティノート

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

- Unix: <project>/snapcraft.yaml
## ソースデータベース詳細

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


## 関連リンク

- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [snap](https://pkg.so/ja/brew/snap/) - Runtime dependency declared by Homebrew.
- [create-dmg](https://pkg.so/ja/brew/create-dmg/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [pyinstaller](https://pkg.so/ja/brew/pyinstaller/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [melange](https://pkg.so/ja/brew/melange/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [python-build](https://pkg.so/ja/brew/python-build/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [nfpm](https://pkg.so/ja/brew/nfpm/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [msitools](https://pkg.so/ja/brew/msitools/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://pkg.so/ja/brew/cargo-bundle/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [makepkg](https://pkg.so/ja/brew/makepkg/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://pkg.so/ja/brew/charmcraft/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, certifi, cli, cryptography, developer.
- [auditwheel](https://pkg.so/ja/brew/auditwheel/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, linux, packaging.
- [charm-tools](https://pkg.so/ja/brew/charm-tools/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, certifi, cli, cloud, cryptography.

## Combined YAML source

View the package source record on GitHub. [combined/snapcraft.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snapcraft.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
