Skip to content

Commit

Permalink
[CIRCLE-12198] Update instructions to include CircleCI token (#17)
Browse files Browse the repository at this point in the history
* Update Server instructions
  • Loading branch information
hannahhenderson authored Jul 9, 2018
1 parent b4f9d52 commit 8c28b7a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,26 @@ This project is the seed for CircleCI's new command-line application.

### 1. Get the latest binary

Download the [latest release](https://github.com/CircleCI-Public/circleci-cli/releases/latest) from GitHub for your operating system. If you're on a Mac, this would be `circleci-cli_0.1.X_darwin_amd64.tar.gz`.
Download the [latest release](https://github.com/CircleCI-Public/circleci-cli/releases/latest) from GitHub for your operating system. If you're on a Mac, this would be `circleci-cli_0.1.XXX_darwin_amd64.tar.gz`.

### 2. Put the binary in your $PATH

```
$ tar -xvzf circleci-cli_0.1.X_darwin_amd64.tar.gz
$ tar -xvzf circleci-cli_0.1.XXX_darwin_amd64.tar.gz
$ mv circleci /usr/local/bin
$ circleci help
```

### 3. Add a Token
You may first need to generate a CircleCI API Token from the [Personal API Token tab](https://circleci.com/account/api).

```
$ circleci configure
```

If you are using this tool on `.com`. accept the provided default `CircleCI API End Point`. If you are using it on Server, change the value to your Server address (i.e. `circleci.my-org.com`).


## Validate A Build Config

To ensure that the tool is installed, you can use it to validate a build config file.
Expand Down

0 comments on commit 8c28b7a

Please sign in to comment.