Skip to content

Commit fad1969

Browse files
Regenerate README file (#235)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent e124274 commit fad1969

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,21 @@ for future authorization requests.
240240
# Install the latest stable version of a package.
241241
$ wp package install runcommand/hook
242242

243+
# Install a specific version.
244+
$ wp package install wp-cli/server-command:2.0.0
245+
246+
# Install with caret operator (allows non-breaking updates).
247+
$ wp package install wp-cli/server-command:^1.0
248+
249+
# Install with tilde operator (allows patch-level updates).
250+
$ wp package install wp-cli/server-command:~1.2
251+
243252
# Install the latest stable version (explicitly specified).
244253
$ wp package install wp-cli/server-command:@stable
245254

255+
# Install from a development branch.
256+
$ wp package install wp-cli/server-command:dev-main
257+
246258
# Install a package hosted at a GitLab.com URL.
247259
$ wp package install https://gitlab.com/foo/wp-cli-bar-command.git
248260

0 commit comments

Comments
 (0)