Installing Juju
Juju is a single binary executable that is published and supported on multiple operating systems and CPU architectures.
OS | |||
---|---|---|---|
Windows | Download the signed Juju installer | md5 | signature |
macOS | brew install juju |
||
Linux | snap install --classic juju |
Further options are documented below.
Linux
Snap command not available? Visit snapcraft.io for instructions.
Local builds
Visit the downloads section of the Launchpad project to download a tar.gz with Juju source code. For build instructions refer to the contributing to Juju documentation on Github.
Using CentOS?: Download Juju and install an archive of Juju (md5) built specifically for that distribution.
Installing Juju development releases
The Juju core development team makes regular beta, release candidate and point releases. We encourage widespread testing of development releases and appreciate your feedback! It is of course best to use stable releases for production deployments.
Linux
We use semantic channels in the snap, so you can get edge, beta or candidate releases as well as the stable releases you need for production. To see the full channel map:
$ snap info juju
channels:
latest/stable: 2.8.6 2020-10-30 (14498) 72MB classic
latest/candidate: 2.9-rc1 2020-10-30 (14502) 97MB classic
latest/beta: ↑
latest/edge: 2.9-rc2-210f66c 2020-10-31 (14506) 97MB classic
2.9/stable: –
2.9/candidate: 2.9-rc1 2020-10-30 (14502) 97MB classic
2.9/beta: ↑
2.9/edge: ↑
2.8/stable: 2.8.6 2020-10-30 (14498) 72MB classic
...
You can select a particular version, or get the latest version. Install with an explicit channel to make sure you get the version you want, for example:
sudo snap install juju --classic --channel=2.9/stable
On a true spare development system that is only used with development or test infrastructure, for example, you might choose:
sudo snap install juju --classic --channel=latest/beta
Other platforms
All development release binaries are published on Launchpad.
Further information
Finding release notes
Release notes are available on Discourse.
Installing multiple Juju client versions
Some environments may need to run both the 1.x and the 2.x versions of Juju concurrently. See running multiple versions of Juju for guidance.
Juju plugins
The Juju client can be extended with plugins.
Last updated a month ago. Help improve this document in the forum.