Skip to content

Commit c627a91

Browse files
committed
[fix] Add new list feature to readme
1 parent 4555bc5 commit c627a91

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,35 @@ Download the latest release by heading over to our [releases](https://github.com
1313

1414
## Usage
1515

16+
### Listing installed PHP versions
17+
18+
To list all the installed PHP versions, simply run the following command:
19+
20+
```sh
21+
php-ch list
22+
```
23+
1624
### Switching PHP versions
1725

1826
To switch to a different version of PHP, simply run the following command:
1927

20-
```cmd
28+
```sh
2129
php-ch set [version]
2230
```
2331

24-
Currently supported PHP versions are:
25-
7.4
26-
8.0
27-
8.1
28-
8.2
29-
3032
### Editing php.ini file
3133

3234
You can edit the php.ini file for the current PHP version by running the following command:
3335

34-
```cmd
36+
```sh
3537
php-ch ini
3638
```
3739

3840
### Editing php.ini file for a specific PHP version
3941

4042
You can edit the php.ini file for a specific PHP version by running the following command:
4143

42-
```cmd
44+
```sh
4345
php-ch ini [version]
4446
```
4547

0 commit comments

Comments
 (0)