@@ -22,7 +22,14 @@ This method provides the strongest security as it verifies both the integrity an
2222curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.asc
2323```
2424
25- For a specific version release (e.g., v2.12.0), download from GitHub releases:
25+ For a specific version release, download from GitHub releases (replace ` X.X.X ` with the desired version):
26+
27+ ``` bash
28+ curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar
29+ curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X/wp-cli-X.X.X.phar.asc
30+ ```
31+
32+ For example, to download version 2.12.0:
2633
2734``` bash
2835curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0/wp-cli-2.12.0.phar
@@ -72,10 +79,10 @@ For a specific version:
7279gpg --verify wp-cli-2.12.0.phar.asc wp-cli-2.12.0.phar
7380```
7481
75- If the signature is valid, you'll see output like :
82+ If the signature is valid, you'll see output similar to :
7683
7784```
78- gpg: Signature made Wed May 7 02:26:41 2025 UTC
85+ gpg: Signature made {DATE}
7986gpg: using RSA key 63AF7AA15067C05616FDDD88A3A2E8F226F0BC06
8087gpg: Good signature from "WP-CLI Releases <[email protected] >" [unknown] 8188```
@@ -100,10 +107,10 @@ Download the SHA-512 checksum file:
100107curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.sha512
101108```
102109
103- Or for a specific release:
110+ Or for a specific release (replace ` X.X.X ` with your version) :
104111
105112``` bash
106- curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0 /wp-cli-2.12.0 .phar.sha512
113+ curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X /wp-cli-X.X.X .phar.sha512
107114```
108115
109116Verify the checksum by comparing the output:
@@ -123,10 +130,10 @@ Download the SHA-256 checksum file:
123130curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar.sha256
124131```
125132
126- Or for a specific release:
133+ Or for a specific release (replace ` X.X.X ` with your version) :
127134
128135``` bash
129- curl -LO https://github.com/wp-cli/wp-cli/releases/download/v2.12.0 /wp-cli-2.12.0 .phar.sha256
136+ curl -LO https://github.com/wp-cli/wp-cli/releases/download/vX.X.X /wp-cli-X.X.X .phar.sha256
130137```
131138
132139Verify the checksum by comparing the output:
0 commit comments