---
title: Testing the future of Juju with snaps
description: Juju 2.3 is under heavy development and one thing we all want when we’re
  working on the next big release of our software product is to get feedback from
  users. Are you solving the problems your user has? Are there bugs in the corner
  cases that a user c […]
url: https://canonical.com/blog/testing-the-future-of-juju-with-snaps?format=md
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Richard Harding](https://canonical.com/blog/author/richard-harding "More about Richard Harding")

20 July 2017

# Testing the future of Juju with snaps

[ecosystem](https://canonical.com/blog/tag/ecosystem)
[juju charms](https://canonical.com/blog/tag/juju-charms)
[Snaps](https://canonical.com/blog/tag/snaps)

---

Share the article

Juju 2.3 is under heavy development, and one thing we all want when we're working on the next big release of our software product is to get feedback from users. Are you solving the problems your user has? Are there bugs in the corner cases that a user can find before the release? Are the performance improvements you made working for everyone like you expect? The more folks that test the software before it's out, the better off your software will be!

With the recent calls for testing out the [Cross Model Relations](http://mitechie.com/blog/2017/7/7/call-for-testing-shared-services-with-juju) and [Storage Improvements](https://awilkins.id.au/post/juju-2.3-storage/) coming in Juju 2.3, I think it'd be good to point out how we can leverage the [power of channels](https://snapcraft.io/docs/reference/channels) in [snaps](https://snapcraft.io/) to test out the upcoming features in Juju.

To get Juju via snaps, you can search the snap store and install it like so:

```

$ snap find juju
$ sudo snap install --classic juju
```

This then drops the Juju binary in the /snap/bin directory.

```

$ /snap/bin/juju --version
2.2.2-zesty-amd64
```

That's great that we've got the latest stable version of Juju. Let's see what other versions we can get access to.

Let's try to use the new storage flag on the deploy command that Andrew points out in [his blog post](https://awilkins.id.au/post/juju-2.3-storage/).

```

$ /snap/bin/juju deploy --attach-storage
ERROR flag provided but not defined: --attach-storage
```

Bummer! That isn't in the stable release of Juju yet. Note that it calls out the flag as not being defined. Let's see if we can get access to a more bleeding edge Juju.

```

$ snap info juju
name:      juju
summary:   "juju client"
publisher: canonical
contact:   http://jujucharms.com
description: |
  Through the use of charms, juju provides you with shareable, re-usable, and
  repeatable expressions of devops best practices.
commands:
  - juju
tracking:    stable
installed:   2.2.2 (2142) 25MB classic
refreshed:   2017-07-13 16:20:52 -0400 EDT
channels:
  stable:    2.2.2                      (2142) 25MB classic
  candidate: 2.2.2                      (2142) 25MB classic
  beta:      2.2.3+2.2-9909aa4          (2180) 43MB classic
  edge:      2.3-alpha1+develop-1f3f66e (2187) 43MB classic
```

There we can see that in the edge channel has an upcoming 2.3-alpha release in there. Let's switch to it and test out what's coming in Juju 2.3.

```

$ sudo snap refresh --edge juju
juju (edge) 2.3-alpha1+develop-1f3f66e from 'canonical' refreshed

$ /snap/bin/juju --version
2.3-alpha1-zesty-amd64
```

Now let's check out that command Andrew was talking about with the storage feature in Juju 2.3.

```

$ /snap/bin/juju deploy --attach-storage
ERROR flag needs an argument: --attach-storage
```

There we go, now we've got access to the upcoming storage features in Juju 2.3 and we can provide great feedback to the dev team.

After we're done testing and providing that feedback we can easily switch back to using the stable release for our normal work.

```

$ sudo snap refresh --stable juju
juju 2.2.2 from 'canonical' refreshed
```

Give it a try, check out the latest in the upcoming 2.3 work and file bugs, send feedback, and be ready to leverage the great work being faster.

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/dataprivacy).

Sign up

## Share on

---

## Related posts

[### Deploy your Spring Boot application to production](https://canonical.com/blog/deploy-spring-application-to-production)

In this article we walk through the steps required to deploy a Spring Boot application to production using Juju and Kubernetes. The goal is to showcase the integration of the...

[Javier de la Puente](https://canonical.com/blog/author/javierdelapuente)

13 January 2026

[### TurtleBot3 OpenCR firmware update from a snap](https://canonical.com/blog/turtlebot3-opencr-firmware-update-from-a-snap)

The TurtleBot3 robot is a standard platform robot in the ROS community, and it’s a reference that Canonical knows well, since we’ve used it in our tutorials. As a matter of...

[gbeuzeboc](https://canonical.com/blog/author/gbeuzeboc)

25 September 2024

[### Space pioneers: Lonestar gears up to create a data centre on the Moon](https://canonical.com/blog/lonestar-data-centre-moon)

Why establish a data centre on the Moon? Find out in our blog.

[Rhys Knipe](https://canonical.com/blog/author/rhysknipe)

12 June 2024

[### Managing software in complex network environments: the Snap Store Proxy](https://canonical.com/blog/managing-software-snap-store-proxy)

As enterprises grapple with the evolving landscape of security threats, the need to safeguard internal networks from the broader internet is increasingly important. In...

[Holly Hall](https://canonical.com/blog/author/hollyhall)

15 January 2024
