Skip to content

Commit

Permalink
Fixes #29: Provide clearer instructions on how to set the PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Jun 7, 2018
1 parent 8f52416 commit 564c20e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -24,7 +24,12 @@ Because the cgr script has no dependencies of its own, it is safe to install via

`composer global require consolidation/cgr`

If you have not already done so, you will also need to add `~/.composer/vendor/bin` to your $PATH. Thereafter, you may subsitute `cgr` for any commandline tool whose installation instructions recommends the use of Composer `global require`.
If you have not already done so, you will also need to add the `vendor/bin` from the Composer home directory to your $PATH. Thereafter, you may subsitute `cgr` for any commandline tool whose installation instructions recommends the use of Composer `global require`.

To add the correct bin directory to your PATH:
```
PATH="$(composer config home)/vendor/bin:$PATH"
```

Example:

Expand Down

0 comments on commit 564c20e

Please sign in to comment.