juju download
¶
Summary¶
Locates and then downloads a Charmhub charm.
Usage¶
juju download [options] [options] <charm>
Options¶
Flag |
Default |
Usage |
---|---|---|
|
all |
Specify an arch <all|amd64|arm64|ppc64el|riscv64|s390x> |
|
Specify a base |
|
|
Specify a channel to use instead of the default release |
|
|
Specify the Charmhub URL for querying the store |
|
|
Specify the filepath location of the charm to download to |
|
|
false |
Disable the progress bar |
|
false |
Download the resources associated with the charm (will be DEPRECATED and default behaviour in 4.0) |
|
-1 |
Specify a revision of the charm to download |
|
all |
Specify a series. DEPRECATED use |
Examples¶
juju download postgresql
juju download postgresql --no-progress - > postgresql.charm
Details¶
Download a charm to the current directory from the Charmhb store
by a specified name. Downloading for a specific base can be done via
--base
. --base
can be specified using the OS name and the version of
the OS, separated by @
. For example, --base ubuntu@22.04
.
By default, the latest revision in the default channel will be
downloaded. To download the latest revision from another channel,
use --channel
. To download a specific revision, use --revision
,
which cannot be used together with --arch
, --base
, --channel
or
--series
.
Adding a hyphen as the second argument allows the download to be piped
to stdout
.