# Installation

### Install Copper CLI

```bash
go install github.com/gocopper/cli/cmd/copper@latest
```

Ensure your copper installation works correctly

```bash
copper -h
```

### Troubleshoot

If `copper -h` didn't work, it probably means that `$GOPATH/bin` is not in your `$PATH`. Add the following to `~/.zshrc` or `~/.bashrc` -

```
export PATH=$HOME/go/bin:$PATH
```

Then, restart your terminal session and try `copper -h` again.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gocopper.gitbook.io/copper/getting-started/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
