Skip to content

Commit

Permalink
Update README.md (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
antzshrek authored and Zachary Scott committed Nov 15, 2018
1 parent 75a319e commit 7a4af3a
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ circleci update
circleci switch
```

This command may prompt you for `sudo` if your user doesn't have write permissions to the install directory, `/usr/local/bin`.
This command may require `sudo` if your user doesn't have write permissions to the install directory, `/usr/local/bin`. Otherwise, you may see the following error:

```
mv: cannot move 'circleci' to '/usr/local/bin/circleci': Permission denied
```


### Updating after install

Expand All @@ -70,6 +75,20 @@ You may first need to generate a CircleCI API Token from the [Personal API Token
```
$ circleci setup
```
You should be prompted to enter the _CircleCI API Token_ you generated from Personal API Token tab](https://circleci.com/account/api)

```
✔ CircleCI API Token:
API token has been set.
✔ CircleCI Host: https://circleci.com
CircleCI host has been set.
Setup complete. Your configuration has been saved.
```


If you are using this tool on `circleci.com`. accept the provided default `CircleCI Host`.

Expand All @@ -84,9 +103,11 @@ To ensure that the tool is installed, you can use it to validate a build config

```
$ circleci config validate
Config file at .circleci/config.yml is valid
```


## Docker

The CLI may also be used without installation by using Docker.
Expand Down

0 comments on commit 7a4af3a

Please sign in to comment.