# Install juju with Homebrew, chocolatey, Nix, winget

DevOps management tool. Version 4.0.12 via Homebrew; verified 2026-06-28.

## Install

```sh
sudo av install brew:juju
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install juju
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#juju
```

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

### Windows

- Chocolatey (92%):

```sh
choco install juju
```

  Evidence: Chocolatey community package catalog: juju from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'

- winget (92%):

```sh
winget install --id Canonical.Juju -e
```

  Evidence: Windows Package Manager source index: Canonical.Juju from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:juju
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/juju>
- **Version:** 4.0.12
- **Source summary:** DevOps management tool
- **Homepage:** <https://canonical.com/juju>
- **Repository:** <https://github.com/juju/juju>
- **Upstream docs:** <https://documentation.ubuntu.com/juju/latest>
- **License:** AGPL-3.0-only
- **Source archive:** <https://github.com/juju/juju/archive/refs/tags/v4.0.12.tar.gz>
- **Last updated:** 2026-06-28T17:12:08Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- juju (cli)
- juju-metadata (cli)
- juju (alias)
- juju-metadata (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.0.12
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/juju/juju
- Upstream latest detected: v4.0.12 (current)
## Project history and usage

Juju is Canonical's model-driven operations and application orchestration tool. It uses charms, controllers, models, and relations to deploy, integrate, scale, and operate software across Kubernetes, virtual machines, bare metal, and public or private clouds.

### Project history

Juju grew out of Canonical's effort to make operations code reusable. Official documentation describes charms as operators that package the instructions needed to deploy, configure, scale, integrate, and manage applications on supported clouds. The model/controller split became central: users bootstrap a controller, create models, deploy charms, and let agents reconcile desired state.

### Adoption history

By July 2015, Canonical was publishing Kubernetes 1.0 deployment workflows through Juju charms. In June 2016, Canonical announced additional storage and networking vendors in the Juju Charm Partner Program, showing an attempt to build an ecosystem around reviewed, reusable operations code.

### How it is used

The Homebrew package exposes the `juju` CLI and related metadata tooling for bootstrapping controllers, adding models, deploying charms, managing credentials, and integrating applications. The CLI is both a local client and the main entry point into Juju's controller-backed orchestration model.

### Why package nerds care

Juju is notable in package-manager culture because the CLI is only the tip of a larger distributed control plane. Installing the package gives access to an ecosystem of charms, Charmhub, cloud credentials, controller state, and model data rather than a self-contained utility.

### Timeline

- 2014: GitHub tags show the 1.20.0 release line.
- 2015: Canonical documented Kubernetes 1.0 deployment through Juju charms.
- 2016: Canonical announced added vendors in the Juju Charm Partner Program.
- 2020: GitHub tags show the 2.8.0 release line.
- 2023: GitHub tags show a 3.0 end-of-life marker, reflecting the 3.x generation.

### Related projects

- Charmhub is the charm and bundle discovery surface for Juju users.
- The Operator Framework-style Ops library is the standard framework for modern charm authors.
- MAAS, LXD, Kubernetes, and OpenStack are common infrastructure contexts for Juju deployments.

### Sources

- <https://canonical.com/blog/vendors-embrace-juju-model-driven-operations>
- <https://documentation.ubuntu.com/juju/3.6/explanation/juju-architecture/>
- <https://documentation.ubuntu.com/juju/3.6/reference/charm/>
- <https://documentation.ubuntu.com/juju/3.6/reference/model/>
- <https://documentation.ubuntu.com/juju/latest>
- <https://formulae.brew.sh/formula/juju>
- <https://github.com/juju/juju>
- <https://ubuntu.com/blog/launch-the-newly-released-kubernetes-1-0-0-with-juju>


## Security Notes

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



## 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: $JUJU_DATA/clouds.yaml, $JUJU_DATA/controllers.yaml, $JUJU_DATA/models.yaml, ~/.local/share/juju/clouds.yaml, ~/.local/share/juju/controllers.yaml, ~/.local/share/juju/models.yaml

## Credential files

- Unix: $JUJU_DATA/credentials.yaml, ~/.local/share/juju/credentials.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** juju
- **Version Scheme:** 1
- **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 - juju: normalized package name match | nixpkgs package indexes: pkgs/by-name/ju/juju/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Chocolatey - juju: normalized package name match | Chocolatey community package catalog: juju from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','jetbrains-rider'
- winget - Canonical.Juju: normalized package name match | Windows Package Manager source index: Canonical.Juju from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [dstack](https://www.automicvault.com/pkg/brew/dstack/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, orchestration.
- [labctl](https://www.automicvault.com/pkg/brew/labctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [apache-brooklyn-cli](https://www.automicvault.com/pkg/brew/apache-brooklyn-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, orchestration.
- [nomad-pack](https://www.automicvault.com/pkg/brew/nomad-pack/) - Shares av.db curated category or tags: cli, cloud-infrastructure, orchestration.
- [clusterawsadm](https://www.automicvault.com/pkg/brew/clusterawsadm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure, kubernetes.
- [clusterctl](https://www.automicvault.com/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, infrastructure, kubernetes.
- [devspace](https://www.automicvault.com/pkg/brew/devspace/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [havener](https://www.automicvault.com/pkg/brew/havener/) - Shares av.db curated category or tags: cli, cloud-infrastructure, devops, kubernetes.
- [helm](https://www.automicvault.com/pkg/brew/helm/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, deployment, devops.
- [helmfile](https://www.automicvault.com/pkg/brew/helmfile/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, deployment, devops.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
