Skip to content

Commit

Permalink
docs: tighten the existing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilding committed Nov 27, 2024
1 parent c1d9a5c commit d4ea297
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/how-to/install-pebble.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ To install the latest version of Pebble, choose any of the following methods:
- {ref}`install_pebble_snap`
- {ref}`install_pebble_from_source`


(install_pebble_binary)=
## Install the binary

Expand All @@ -17,6 +18,7 @@ To install the binary for the latest version of Pebble:
:end-before: End: Install Pebble binary
```


(install_pebble_snap)=
## Install the snap

Expand All @@ -34,10 +36,11 @@ For information about snaps, see the [snap documentation](https://snapcraft.io/d

To install the latest version of Pebble from source:

1. Follow the official Go documentation [here](https://go.dev/doc/install) to download and install Go.
2. After installing, you will want to add the `$GOBIN` directory to your `$PATH` so you can use the installed tools. For more information, refer to the [official documentation](https://go.dev/doc/install/source#environment).
1. Follow the [Go installation documentation](https://go.dev/doc/install) to download and install Go.
2. After installing, add the `$GOBIN` directory to your `$PATH` so you can use the installed tools. For more information, see the [Go environment documentation](https://go.dev/doc/install/source#environment).
3. Run `go install github.com/canonical/pebble/cmd/pebble@latest` to build and install Pebble.


## Verify the Pebble installation

```{include} /reuse/verify.md
Expand Down

0 comments on commit d4ea297

Please sign in to comment.