diff --git a/README.md b/README.md index 9cde5043..1a72c931 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,21 @@ To view usage documentation, head over to [https://enterprise.coder.com](https://enterprise.coder.com/docs/getting-started). To report bugs and request features, please [open an issue](https://github.com/cdr/coder-cli/issues/new). + +## Installation + +To install the latest version use: + +```bash +go get cdr.dev/coder-cli/cmd/coder +``` + +To install a specific [release](https://github.com/cdr/coder-cli/releases): + +1. Click a release and download the tar file for your operating system (ex: coder-cli-linux-amd64.tar.gz) +2. Extract the `coder` binary from the tar file, ex: + +```bash +cd ~/go/bin +tar -xvf ~/Downloads/coder-cli-linux-amd64.tar.gz +```