Automic VaultAutomic Vault

brew

使用 Homebrew 安装 snapcraft

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install snapcraft

local Homebrew formula metadata

概览

软件包摘要

Package any app for every Linux desktop, server, cloud or device

命令和别名

  • snapcraft
  • snapcraftctl
  • snapcraftctl-compat
  • versioneer.py

历史

项目历史与用法

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.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 10 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
<project>/snapcraft.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
snapcraftcli全局可执行文件
snapcraftctlcli全局可执行文件
snapcraftctl-compatcli全局可执行文件
versioneer.pycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本9.0.0
管理器更新时间2026-05-14
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/canonical/snapcraft

安装元数据

软件包元数据

软件包键brew:snapcraft
版本9.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/snapcraft
主页https://snapcraft.io/
仓库https://github.com/canonical/snapcraft
上游文档https://documentation.ubuntu.com/snapcraft/latest
许可证GPL-3.0-only
源码归档https://github.com/canonical/snapcraft.git
最后更新2026-05-14T12:58:19Z
Pulseupdated
依赖certifi, cryptography, libsodium, libyaml, lxc, pydantic, pygit2, python@3.14, snap, xdelta
macOS 提供的库libffi, libxml2, libxslt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesnapcraft
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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