Skip to content

Commit c7d2243

Browse files
authored
Merge pull request #582 from kenjis/fix-docs-install.md
docs: improve installation instruction
2 parents 3fede09 + 15265eb commit c7d2243

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ Could not find a version of package codeigniter4/shield matching your minimum-st
4040
Require it with an explicit version constraint allowing its desired stability.
4141
```
4242

43-
1. Add the following to change your [minimum-stability](https://getcomposer.org/doc/articles/versions.md#minimum-stability) in your project `composer.json`:
43+
1. Run the following commands to change your [minimum-stability](https://getcomposer.org/doc/articles/versions.md#minimum-stability) in your project `composer.json`:
4444

45-
```json
46-
"minimum-stability": "dev",
47-
"prefer-stable": true,
45+
```console
46+
composer config minimum-stability dev
47+
composer config prefer-stable true
4848
```
4949

5050
2. Or specify an explicit version:

0 commit comments

Comments
 (0)