> **Page index:** https://km.oslo.systems/llms.txt lists every page on this site, with a link to its Markdown version.

# `gh`

The `gh` tool is the official GitHub CLI and is used by `ok` to download reusable GitHub Actions workflows.

```
brew install gh
```

Then authenticate and follow the on-screen instructions:

```
gh auth login
```

You can also refer to [`gh` on GitHub](<https://github.com/cli/cli>)

## Verification

Confirm that `gh` is installed and authenticated. The output reports that you are logged in to `github.com`:

```
gh auth status
```
