diff --git a/docs/drupal9/index.md b/docs/drupal9/index.md
index 391020094c79a604f425e5cbff077f7407c0cb39..c51a9afb081f018a2468aa26d999d09ac5ea7216 100644
--- a/docs/drupal9/index.md
+++ b/docs/drupal9/index.md
@@ -109,11 +109,11 @@ If you'd like more details to understand these commands or common errors, then p
     The following expression references the three packages and applies the same version-constraint to each:
 
     ```
-    civicrm/civicrm-{core,packages,drupal-8}:'~5.29'
+    civicrm/civicrm-{core,packages,drupal-8}:'~5.42'
     ```
 
-    The expression `~5.29` is a version-constraint.  It means that composer will install *approximately* v`5.29`.  It may
-    install a newer patch-release (e.g.  `5.29.1`) or a newer minor-release (e.g.  `5.31.0`).  However, it will avoid
+    The expression `~5.42` is a version-constraint.  It means that composer will install *approximately* v`5.42`.  It may
+    install a newer patch-release (e.g.  `5.42.1`) or a newer minor-release (e.g.  `5.43.0`).  However, it will avoid
     major-releases (e.g. `6.0.0`).
 
     Many `composer` tutorials rely on `composer` to automatically choose package-versions.