## TL;DR

[kushalmalani (commenter)]: Fixed in Astro CLI 1.27.0: the upgrade notice now goes to stderr instead of stdout, so astro completion output is clean again. Reported in Astronomer: Upgrade notice goes to stdout, which breaks completion.

## Steps

1. [kushalmalani (commenter)]: Fixed in Astro CLI 1.27.0: the upgrade notice now goes to stderr instead of stdout, so astro completion output is clean again. If you are on an older version, either upgrade, or silence the notice with astro config set -g upgrade_message false.

## When to use

Use this skill when you run into "Upgrade notice goes to stdout, which breaks completion".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

Versions mentioned in the source: CLI 1.27.0. If you are on something much newer or older, the details may have shifted.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
