# Install snapcraft with Homebrew

Package any app for every Linux desktop, server, cloud or device. Version 9.0.0 via Homebrew; verified 2026-05-14.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install snapcraft
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:snapcraft
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/snapcraft>
- **Version:** 9.0.0
- **Source summary:** Package any app for every Linux desktop, server, cloud or device
- **Homepage:** <https://snapcraft.io/>
- **Repository:** <https://github.com/canonical/snapcraft>
- **Upstream docs:** <https://documentation.ubuntu.com/snapcraft/latest>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/canonical/snapcraft.git>
- **Last updated:** 2026-05-14T12:58:19Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- snapcraft (cli)
- snapcraftctl (cli)
- snapcraftctl-compat (cli)
- versioneer.py (cli)
- snapcraft (alias)
- snapcraftctl (alias)
- snapcraftctl-compat (alias)
- versioneer.py (alias)

## Dependencies

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

## Uses from macOS

- libffi
- libxml2
- libxslt

## 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-07-08
- Package-manager version: 9.0.0
- Package-manager updated: 2026-05-14
- Local data: ok
- Upstream repository: https://github.com/canonical/snapcraft
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- 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 Details

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


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [lxc](https://www.automicvault.com/pkg/brew/lxc/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [snap](https://www.automicvault.com/pkg/brew/snap/) - Shares the same upstream homepage.
- [hpack](https://www.automicvault.com/pkg/brew/hpack/) - Shares av.db curated category or tags: build-tool, cli, developer-tools, packaging.
- [yeet](https://www.automicvault.com/pkg/brew/yeet/) - Shares av.db curated category or tags: build-tool, cli, developer-tools, packaging.
- [abi3audit](https://www.automicvault.com/pkg/brew/abi3audit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://www.automicvault.com/pkg/brew/cargo-bundle/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [charmcraft](https://www.automicvault.com/pkg/brew/charmcraft/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [create-dmg](https://www.automicvault.com/pkg/brew/create-dmg/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [flit](https://www.automicvault.com/pkg/brew/flit/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [makepkg](https://www.automicvault.com/pkg/brew/makepkg/) - Shares av.db curated category or tags: cli, developer-tools, packaging.
- [fastmcp](https://www.automicvault.com/pkg/brew/fastmcp/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, certifi, cli, cryptography, developer.
- [moto](https://www.automicvault.com/pkg/brew/moto/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, cloud, cryptography, developer.

## Combined YAML source

View the package source record on GitHub. [combined/snapcraft.yml](https://github.com/automic-vault/db/blob/main/combined/snapcraft.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
