> For the complete documentation index, see [llms.txt](https://gocopper.gitbook.io/copper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocopper.gitbook.io/copper/getting-started/installation.md).

# 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.
