# Install charm with Homebrew, MacPorts, Nix, pacman

Tool for managing Juju Charms. Version 2.5.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:charm
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install charm
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install charm
```

  Evidence: MacPorts ports tree: office/charm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#charm
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ch/charm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S charm
```

  Evidence: Arch Linux sync databases: charm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:charm
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/charm>
- **Version:** 2.5.2
- **Source summary:** Tool for managing Juju Charms
- **Homepage:** <https://github.com/juju/charmstore-client>
- **Repository:** <https://github.com/juju/charmstore-client>
- **Upstream docs:** <https://github.com/juju/charmstore-client#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/juju/charmstore-client/archive/refs/tags/v2.5.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- charm (cli)
- charm (alias)

## Build dependencies

- breezy
- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.5.2
- Local data: ok
- Upstream repository: https://github.com/juju/charmstore-client
- Upstream latest detected: v2.5.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

charm is the command-line client from juju/charmstore-client for interacting with the Juju Charm Store.

### Project history

The charmstore-client README says the repository holds client-side code for interacting with the Juju Charm Store. Installing the Go package produces the `charm` executable.

### Adoption history

The supplied package facts show the `charm` CLI distributed by Homebrew, MacPorts, Nix, and Arch/Pacman. Its GitHub releases show an active 2.x line from 2016 through 2021, after which the repository metadata indicates no recent pushes.

### How it is used

The README documents Charm Store operations including login/logout, listing charms, pulling, pushing, releasing, granting and revoking permissions, attaching resources, showing metadata, and checking `whoami`.

### Why package nerds care

charm is package-nerd significant as a specialized registry client: it treated Juju charms and bundles like publishable artifacts with login, push, release, permission, and resource commands, similar in shape to language package-manager CLIs.

### Timeline

- 2016: juju/charmstore-client public GitHub repository created.
- 2016: 2.1.x and 2.2.0 GitHub releases published.
- 2020: charmstore-client 2.5.0 and 2.5.1 released.
- 2021: 2.5.2 release published; repository push activity ended shortly afterward according to repository metadata.

### Related projects

- Juju charms and bundles are the artifacts managed by the command.
- juju/charm-tools covers authoring and validation workflows adjacent to charmstore-client's store operations.
- Charmhub and Charmcraft are newer Canonical surfaces in the charm ecosystem.

### Sources

- <https://github.com/juju/charmstore-client#readme>
- <https://formulae.brew.sh/formula/charm>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Nix - charm: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/charm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - charm - 0.12.6-2: normalized package name match | Arch Linux sync databases: charm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The backend for the Charm cloud | https://charm.sh/cloud/
- MacPorts - charm: normalized package name match | MacPorts ports tree: office/charm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [breezy](https://www.automicvault.com/pkg/brew/breezy/) - Build dependency declared by Homebrew.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [charm-tools](https://www.automicvault.com/pkg/brew/charm-tools/) - Popular package that depends on this formula.
- [charmcraft](https://www.automicvault.com/pkg/brew/charmcraft/) - Shares av.db curated category or tags: charms, cli, developer-tools, juju.
- [clive](https://www.automicvault.com/pkg/brew/clive/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, operations.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
