# charmcraft mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für charmcraft in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:charmcraft
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install charmcraft
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:charmcraft
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/charmcraft>
- **Version:** 4.4.0
- **Quellzusammenfassung:** Tool to build charms and publish them on Charmhub
- **Homepage:** <https://charmhub.io>
- **Repository:** <https://github.com/canonical/charmcraft>
- **Upstream-Dokumentation:** <https://charmhub.io>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://files.pythonhosted.org/packages/21/6c/e371c19234296adf715b5bc3c2910786dc718ef5c6d0e67fe3cfdbfff155/charmcraft-4.4.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-22T21:23:16Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- charmcraft (cli)
- charmcraft (Alias)

## Abhängigkeiten

- certifi
- cryptography
- libsodium
- libyaml
- pydantic
- pygit2
- python@3.14
- rpds-py

## Von macOS bereitgestellte Bibliotheken

- libxml2
- libxslt

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 4.4.0
- Manager aktualisiert: 2026-07-22
- lokale Daten: OK
- Upstream-Repository: https://charmhub.io
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

- <https://github.com/canonical/charmcraft>
- <https://api.github.com/repos/canonical/charmcraft>
- <https://api.github.com/repos/canonical/charmcraft/releases>
- <https://documentation.ubuntu.com/charmcraft/stable/reference/files/charmcraft-yaml-file/>


## Sicherheitshinweise

Für charmcraft wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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: ./charmcraft.yaml
## Details aus der Quelldatenbank

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


## Verwandte Links

- [Package publisher tools](https://pkg.so/de/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/de/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [vsce](https://pkg.so/de/brew/vsce/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging, publishing.
- [charm-tools](https://pkg.so/de/brew/charm-tools/) - Shares pkgdb curated category or tags: charms, cli, developer-tools, juju.
- [charm](https://pkg.so/de/brew/charm/) - Shares pkgdb curated category or tags: charms, cli, developer-tools, juju.
- [poetry](https://pkg.so/de/brew/poetry/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [pipenv](https://pkg.so/de/brew/pipenv/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [goreleaser](https://pkg.so/de/brew/goreleaser/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [create-dmg](https://pkg.so/de/brew/create-dmg/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [asciidoctor](https://pkg.so/de/brew/asciidoctor/) - Shares pkgdb curated category or tags: cli, developer-tools, publishing.
- [snapcraft](https://pkg.so/de/brew/snapcraft/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, certifi, cli, cryptography, developer.
- [cobo-cli](https://pkg.so/de/brew/cobo-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: build, certifi, cli, developer, developer-tools.

## Combined YAML source

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


## Quellen

- 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
