Automic VaultAutomic Vault

brew

Install charmcraft with Homebrew

Tool to build charms and publish them on Charmhub. Version 4.3.0 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install charmcraft

local Homebrew formula metadata

overview

Package summary

Tool to build charms and publish them on Charmhub

Commands and aliases

  • charmcraft

history

Project history and usage

Charmcraft is Canonical's command-line tool for creating, packaging, and publishing charms, the operator packages used by Juju. In package-manager terms it is the build-and-release client for the Charmhub/Juju ecosystem rather than a general-purpose language package manager.

Project history

The upstream GitHub repository was created in April 2020, and its README describes Charmcraft as the tool for initializing charm projects, packing charms, registering names, uploading revisions, and releasing them through Charmhub. GitHub release metadata shows the first public release, 0.1.0, published in May 2020; current releases are in the 4.x line.

Adoption history

Charmcraft adoption follows Juju and Charmhub adoption: developers who build charmed operators use it to turn operator source trees into distributable charm artifacts. The README says the recommended Linux installation is the Snap package, while the input package-manager facts show a Homebrew formula for macOS users.

How it is used

Typical use starts with `charmcraft init`, then `charmcraft pack` to build, `charmcraft register` to reserve a Charmhub name, and `charmcraft upload` to publish revisions. The documented `charmcraft.yaml` file declares project metadata consumed by Charmcraft.

Why package nerds care

Charmcraft matters to package nerds because it is an ecosystem-specific packaging frontend: it bridges source trees, declared package metadata, build isolation, and a central registry for Juju operators. It is also a Canonical example of packaging tooling aligned with Snap distribution and Ubuntu documentation.

Timeline

  • 2020-04: Upstream GitHub repository created.
  • 2020-05: First public GitHub release, 0.1.0.
  • 2026-06: Upstream GitHub release metadata lists Charmcraft 4.3.0.

Related projects

  • Juju is the orchestration system whose operators are packaged as charms.
  • Charmhub is the publishing and discovery service targeted by Charmcraft commands.
  • Snapcraft is adjacent Canonical packaging tooling; Charmcraft's README recommends the Snap package on Linux.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for charmcraft. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 8 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
./charmcraft.yaml

executables

Installed executables

CommandKindExposureNote
charmcraftcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.3.0
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://charmhub.io

  • infoRelease/tag comparison is only available for GitHub repositories.https://charmhub.ionone confidence

install metadata

Package metadata

Package keybrew:charmcraft
Version4.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/charmcraft
Homepagehttps://charmhub.io
Repositoryhttps://github.com/canonical/charmcraft
Upstream docshttps://documentation.ubuntu.com/charmcraft/stable
LicenseApache-2.0
Source archivehttps://files.pythonhosted.org/packages/5f/42/70ca3f5a4337f80b555de3355876de64869c84f8fcd927d78431b9252f20/charmcraft-4.3.0.tar.gz
Last updated2026-06-25T15:45:55Z
Pulseupdated
Dependenciescertifi, cryptography, libsodium, libyaml, pydantic, pygit2, python@3.14, rpds-py
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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