diff --git a/.goreleaser.yml b/.goreleaser.yml
index 09ee2e00fa68318e73294a4169d25b7e4808d1e3..6fbf555096e3c3f88b6dd2f6329c24bfcb6f062d 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -52,6 +52,17 @@ brews:
     dependencies:
       - name: kubectl
         type: optional
+    install: |
+      bin.install "flux"
+
+      bash_output = Utils.safe_popen_read(bin/"flux", "completion", "bash")
+      (bash_completion/"flux").write bash_output
+
+      zsh_output = Utils.safe_popen_read(bin/"flux", "completion", "zsh")
+      (zsh_completion/"_flux").write zsh_output
+
+      fish_output = Utils.safe_popen_read(bin/"flux", "completion", "fish")
+      (fish_completion/"flux.fish").write fish_output
     test: |
       system "#{bin}/flux --version"
 publishers: