# Install charm with Homebrew, MacPorts, Nix, pacman

Tool for managing Juju Charms. Version 2.5.2 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#charm.

## 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
- **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>
- **Last updated:** 2026-07-25T14:20:49-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- charm (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.5.2
## 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

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


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
