> For the complete documentation index, see [llms.txt](https://docs.release.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.release.com/cli/installation.md).

# Installation

Installation guide for the Release CLI

## Homebrew

On macOS or Linux, you can install the CLI through our custom [Homebrew](https://brew.sh/) tap:

```bash
brew install releasehub-com/tap/release-cli
```

You may need to close and reopen your shell for completions to be available.

### Updating via Homebrew

```bash
brew update && brew upgrade releasehub-com/tap/release-cli
```

## Docker

We publish Docker images automatically with each release:

```
docker run public.ecr.aws/releasehub-com/release-cli
```

## Manual

Download the latest binary for your platform:

* [macOS (amd64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_darwin_amd64.tar.gz)
* [macOS (arm64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_darwin_arm64.tar.gz)
* [Linux (amd64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_linux_amd64.tar.gz)
* [Linux (arm64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_linux_arm64.tar.gz)
* [Windows (amd64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_windows_amd64.tar.gz)
* [Windows (arm64)](https://release-cli.s3.us-west-2.amazonaws.com/v0.39.1/release_0.39.1_windows_arm64.tar.gz)

## Shell Completions

The Release CLI supports shell completions for `bash`, `zsh`, and `fish`. If you install through Homebrew it should install completions automatically.

To install shell completions manually:

### Bash

```
echo 'source <(release completion bash)' >> ~/.bashrc
```

### Zsh

```
echo 'source <(release completion zsh)' >> ~/.zshrc
```

### Fish

```
echo 'source <(release completion fish)' >> ~/.config/fish/completions/release.fish
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.release.com/cli/installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
