Skip to content

Commit db53a3e

Browse files
committed
Update version constraint in docs
1 parent 0a782dc commit db53a3e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/installation-setup/cli-installation.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The QIT Command Line Interface (CLI) is your primary tool for running tests loca
1313
By installing the QIT CLI globally, you can access it from any project directory on your system. This approach simplifies your workflow if you work on multiple extensions or projects.
1414

1515
1. Install QIT CLI globally:
16-
`composer global require woocommerce/qit-cli`
16+
`composer global require "woocommerce/qit-cli:*"`
1717

1818
2. Ensure the Composer global `bin` directory is in your `PATH`. For example:
1919
`export PATH="$PATH:$HOME/.composer/vendor/bin"`
@@ -32,10 +32,12 @@ By installing the QIT CLI globally, you can access it from any project directory
3232

3333
To update the QIT CLI when installed globally via Composer:
3434

35-
`composer global update woocommerce/qit-cli`
35+
`composer global require "woocommerce/qit-cli:*"`
3636

3737
This will fetch and install the latest version, ensuring you always have the newest features and fixes.
3838

39+
If your version constraint is already `*`, you can use `composer global update woocommerce/qit-cli` instead.
40+
3941
## Next steps
4042

4143
- **Authenticate with QIT:** After installing, connect the CLI to your WooCommerce Marketplace account. See [Authenticating](./authenticating.md) for details.

docs/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ For the simplest and most consistent experience, install QIT CLI globally. This
3535

3636
1. **Install QIT CLI Globally:**
3737
```bash
38-
composer global require woocommerce/qit-cli
38+
composer global require "woocommerce/qit-cli:*"
3939
```
4040
Make sure your global Composer `bin` directory is in your `PATH`.
4141
Example:
@@ -58,7 +58,7 @@ For the simplest and most consistent experience, install QIT CLI globally. This
5858
**Alternative: Per-Project Installation (If Preferred)**
5959
If you prefer isolating QIT to a single project, you can still install it locally using:
6060
```bash
61-
composer require woocommerce/qit-cli --dev
61+
composer require "woocommerce/qit-cli:*" --dev
6262
```
6363
And run commands via:
6464
```bash

0 commit comments

Comments
 (0)