@@ -164,6 +164,12 @@ You can also select optional dependency groups with the `--with` option.
164
164
poetry install --with test,docs
165
165
```
166
166
167
+ To install all dependency groups including the optional groups, use the `` --all-groups `` flag.
168
+
169
+ ``` bash
170
+ poetry install --all-groups
171
+ ```
172
+
167
173
It's also possible to only install specific dependency groups by using the ` only ` option.
168
174
169
175
``` bash
@@ -254,9 +260,10 @@ poetry install --compile
254
260
* ` --sync ` : Synchronize the environment with the locked packages and the specified groups.
255
261
* ` --no-root ` : Do not install the root package (your project).
256
262
* ` --no-directory ` : Skip all directory path dependencies (including transitive ones).
257
- * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
263
+ * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables ` --verbose ` ).
258
264
* ` --extras (-E) ` : Features to install (multiple values allowed).
259
- * ` --all-extras ` : Install all extra features (conflicts with --extras).
265
+ * ` --all-extras ` : Install all extra features (conflicts with ` --extras ` ).
266
+ * ` --all-groups ` : Install dependencies from all groups (conflicts with ` --only ` , ` --with ` , and ` --without ` ).
260
267
* ` --compile ` : Compile Python source files to bytecode.
261
268
* ` --remove-untracked ` : Remove dependencies not presented in the lock file. (** Deprecated** , use ` --sync ` instead)
262
269
@@ -295,7 +302,7 @@ You can do this using the `add` command.
295
302
* ` --without ` : The dependency groups to ignore.
296
303
* ` --with ` : The optional dependency groups to include.
297
304
* ` --only ` : The only dependency groups to include.
298
- * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables --verbose).
305
+ * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables ` --verbose ` ).
299
306
* ` --lock ` : Do not perform install (only update the lockfile).
300
307
* ` --sync ` : Synchronize the environment with the locked packages and the specified groups.
301
308
@@ -456,7 +463,7 @@ about dependency groups.
456
463
* ` --platform ` : Platforms for which the dependency must be installed.
457
464
* ` --source ` : Name of the source to use to install the package.
458
465
* ` --allow-prereleases ` : Accept prereleases.
459
- * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
466
+ * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables ` --verbose ` ).
460
467
* ` --lock ` : Do not perform install (only update the lockfile).
461
468
462
469
@@ -482,7 +489,7 @@ about dependency groups.
482
489
483
490
* ` --group (-G) ` : The group to remove the dependency from.
484
491
* ` --dev (-D) ` : Removes a package from the development dependencies. (shortcut for ` -G dev ` )
485
- * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables --verbose).
492
+ * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables ` --verbose ` ).
486
493
* ` --lock ` : Do not perform operations (only update the lockfile).
487
494
488
495
@@ -991,7 +998,7 @@ poetry self add artifacts-keyring
991
998
* ` --extras (-E) ` : Extras to activate for the dependency. (multiple values allowed)
992
999
* ` --allow-prereleases ` : Accept prereleases.
993
1000
* ` --source ` : Name of the source to use to install the package.
994
- * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
1001
+ * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables ` --verbose ` ).
995
1002
996
1003
### self update
997
1004
@@ -1009,7 +1016,7 @@ poetry self update
1009
1016
#### Options
1010
1017
1011
1018
* ` --preview ` : Allow the installation of pre-release versions.
1012
- * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
1019
+ * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables ` --verbose ` ).
1013
1020
1014
1021
### self lock
1015
1022
@@ -1063,7 +1070,7 @@ poetry self remove poetry-plugin-export
1063
1070
1064
1071
#### Options
1065
1072
1066
- * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables --verbose).
1073
+ * ` --dry-run ` : Outputs the operations but will not execute anything (implicitly enables ` --verbose ` ).
1067
1074
1068
1075
### self install
1069
1076
@@ -1082,4 +1089,4 @@ poetry self install --sync
1082
1089
#### Options
1083
1090
1084
1091
* ` --sync ` : Synchronize the environment with the locked packages and the specified groups.
1085
- * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables --verbose).
1092
+ * ` --dry-run ` : Output the operations but do not execute anything (implicitly enables ` --verbose ` ).
0 commit comments