# 使用 Homebrew, chocolatey, Nix, winget 安装 juju

查看 juju 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install juju
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:juju
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/juju>
- **版本:** 4.0.12
- **来源摘要:** DevOps management tool
- **主页:** <https://canonical.com/juju>
- **仓库:** <https://github.com/juju/juju>
- **上游文档:** <https://documentation.ubuntu.com/juju/latest>
- **许可证:** AGPL-3.0-only
- **源码归档:** <https://github.com/juju/juju/archive/refs/tags/v4.0.12.tar.gz>
- **最后更新:** 2026-06-28T17:12:08Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- juju (cli)
- juju-metadata (cli)
- juju (别名)
- juju-metadata (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.0.12
- 管理器更新时间: 2026-06-28
- 本地数据: OK
- 上游仓库: https://github.com/juju/juju
- 检测到的最新版本: v4.0.12 (当前)
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

没有找到 juju 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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:** 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

## 其他软件包管理器记录

- 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


## 相关链接

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


## 来源

- 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
