# 使用 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','java7u13x86'

- 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
- **版本:** 4.0.13
- **来源摘要:** DevOps management tool
- **主页:** <https://canonical.com/juju>
- **仓库:** <https://github.com/juju/juju>
- **最后更新:** 2026-07-26T04:08:08+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.0.13
## 项目历史与用法

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
## 其他软件包管理器记录

- 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','java7u13x86'
- winget - Canonical.Juju: normalized package name match | Windows Package Manager source index: Canonical.Juju from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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