diff --git a/cmd/cmd.go b/cmd/cmd.go
index 91819c8e..97e821c7 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -456,6 +456,10 @@ func RunHandler(cmd *cobra.Command, args []string) error {
 	if len(prompts) > 0 {
 		interactive = false
 	}
+	// Be quiet if we're redirecting to a pipe or file
+	if !term.IsTerminal(int(os.Stdout.Fd())) {
+		interactive = false
+	}
 
 	nowrap, err := cmd.Flags().GetBool("nowordwrap")
 	if err != nil {