Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use go install #162

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@ The `dependabot` CLI is a tool for testing and debugging Dependabot update jobs.

## Installation

You can download a pre-built binary from the [releases] page.

If you have the [`gh`][gh] command available,
you can install the latest release of `dependabot` using the following command
([gist source](https://gist.github.com/mattt/e09e1ecd76d5573e0517a7622009f06f)):

```console
gh gist view --raw e09e1ecd76d5573e0517a7622009f06f | bash
```
Use any of the following for a pain-free installation:

* If you have [`go`](https://go.dev/doc/install) installed, you can run:
```shell
go install github.com/dependabot/cli/cmd/dependabot@latest
```
The benefit of this method is that re-running the command will always update to the latest version.
* You can download a pre-built binary from the [releases] page.
* If you have the [`gh`][gh] command available, you can install the latest release
of `dependabot` using the following command ([gist source](https://gist.github.com/mattt/e09e1ecd76d5573e0517a7622009f06f)):
```shell
gh gist view --raw e09e1ecd76d5573e0517a7622009f06f | bash
```

## Requirements

Expand Down