diff --git a/site/en/external/migration.md b/site/en/external/migration.md index fdfb6435c27e60..506acf86317f13 100644 --- a/site/en/external/migration.md +++ b/site/en/external/migration.md @@ -32,6 +32,19 @@ your workspace root, maybe with comments like: # See MODULE.bazel for external dependencies setup. ``` +### Enable Blzmod in your bazelrc {:#enable-bzldmod} + +`.bazelrc` lets you set flags that apply every time your run Bazel. To enable +Bzlmod, use the `--enable_bzlmod` flag, and apply it to the `common` command so +it applies to every command: + +* **.bazelrc** + + ``` + # Enable Bzlmod for every Bazel command + common --enable_bzlmod + ``` + ### Specify repository name for your workspace {:#specify-repo-name} * **WORKSPACE**