Skip to content

Commit 0885b42

Browse files
Update cli-tool.md
1 parent 5cafa79 commit 0885b42

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

cli-tool.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# CLI Tool
22

3-
The StyleCI CLI Tool requires [PHP](https://php.net) 7.2.5 or higher, and can be installed either by using [Composer](https://getcomposer.org/), or directly downloading the phar. The tool will allow you to analyze your code using StyleCI, before you push. This tool is licensed under [The Apache License 2.0](https://github.com/StyleCI/CLI/blob/0.9/LICENSE).
3+
The StyleCI CLI Tool requires [PHP](https://php.net) 7.2.5 or higher, and can be installed either directly downloading the phar, orby using [Composer](https://getcomposer.org/). The tool will allow you to analyze your code using StyleCI, before you push. This tool is licensed under [The Apache License 2.0](https://github.com/StyleCI/CLI/blob/1.0/LICENSE).
44

55
<a name="installation"></a>
66
## Installation
77

8-
#### Require using Composer
8+
#### Download the Phar
99

10-
Local installation:
10+
Global installation:
1111

1212
```bash
13-
$ composer require styleci/cli:^0.9 --dev
13+
$ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v1.0.0/styleci.phar \
14+
&& chmod +x styleci.phar && sudo mv styleci.phar /usr/local/bin/styleci
1415
```
1516

16-
Global installation:
17+
#### Require using Composer
18+
19+
Local installation:
1720

1821
```bash
19-
$ composer global require styleci/cli:^0.9
22+
$ composer require styleci/cli:^1.0 --dev
2023
```
2124

22-
#### Download the Phar
23-
2425
Global installation:
2526

2627
```bash
27-
$ curl -SsLo styleci.phar https://github.com/StyleCI/CLI/releases/download/v0.9.3/styleci.phar \
28-
&& chmod +x styleci.phar && sudo mv styleci.phar /usr/local/bin/styleci
28+
$ composer global require styleci/cli:^1.0
2929
```
3030

3131
## First Time Setup

0 commit comments

Comments
 (0)