Skip to content

chore: update CLI installation instructions for Windows #816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions cli/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,25 @@ version number.
brew install cdr/coder/coder-cli
```

### Download (Windows, Linux, Mac)
### Download (Linux, Mac)

Download releases [from GitHub](https://github.com/coder/coder-cli/releases):

1. Click a release and download the tar file for your operating system (ex:
coder-cli-linux-amd64.tar.gz)
`coder-cli-linux-amd64.tar.gz`)
1. Extract the `coder` binary and copy it to a location you've added to your
`PATH` environment variable

### Download (Windows)

1. Click a release (e.g., `coder-cli-windows.zip`) and download the file
1. Unzip the file
1. Copy the file to a location of your choosing (e.g., `%USERPROFILE%\bin`).
1. On the command-line interface, execute `coder.exe login`

> Make sure that your user's `PATH` environment variable contains the location
> you chose in step 3.

## Authenticate

Once you've installed the CLI, authenticate the client with your Coder account.
Expand Down