From e758dad0e6cff15ab6dd9d3a942a6655bf875340 Mon Sep 17 00:00:00 2001 From: G r e y Date: Wed, 10 Jun 2020 07:34:21 -0500 Subject: [PATCH] Add installation instructions --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 +```