# Sprite CLI: Disable upgrade checks

**URL:** <https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790>\
**Category:** Questions / Help\
**Tags:** wishlist, sprites\
**Created:** [October 10, 2026, 1:23pm UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790 "2026-10-10T13:23:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonstacks13](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jonstacks13/32/50862_2.png) [@jonstacks13](https://community.fly.io/u/jonstacks13)\
**Post date:** [October 10, 2026, 1:23pm UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/1 "2026-10-10T13:23:16Z")

</div>

Hi! It looks like since sprites moved more into the [fly.io](http://fly.io) docs, it might not be monitored as much so hoping to link the feature request here: [Is it possible to disable the upgrade check? · Issue #216 · superfly/sprites-docs · GitHub](https://github.com/superfly/sprites-docs/issues/216)

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [October 10, 2026, 1:54pm UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/3 "2026-10-10T13:54:53Z")

</div>

Hi… That issue tracker is for the docs only, e.g., if you noticed a typo in one of the code examples (which has indeed happened in the past).

For requesting features to be added to the Sprites CLI, the closest thing would be the community forum’s #wishlist tag (which I just added to your thread)…

Also, I’d suggest copying the text about the details of your proposed environment variable tweak into your post here, so others can more easily find it in forum searches, etc.

---

<div class="post-metadata">

**Author:** ![jonstacks13](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jonstacks13/32/50862_2.png) [@jonstacks13](https://community.fly.io/u/jonstacks13)\
**Post date:** [October 10, 2026, 4:58pm UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/4 "2026-10-10T16:58:04Z")

</div>

@mayailurus Appreciate the clarification and thank you for adding the wishlist tag.

> ```auto
> sprite --version
> sprite version v0.0.1-rc44
> 
> ```
> 
> When running `sprite completion zsh`, the upgrade check (occasionally) runs and prints that a new version is available. When run as part of a shell hook to source completions, this occasionally dumps upgrade notifications when starting a new shell.
> 
> The sprite CLI has an environment variable that can be set to (`UPGRADE_CHECK=true`) to bypass the 24-hour cache and do an immediate check.
> 
> I recently contributed a change to nixpkgs [sprite: 0.0.1-rc43 -\> 0.0.1-rc44 by jonstacks · Pull Request #532217 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/532217) to set `UPGRADE_CHECK=false` trying to prevent the upgrade check from happening. The motivation behind this is that even if a new sprite version is available, if using nixpkgs, you usually have to wait for that version bump to propagate unless you want to manually override it. From my searching, it is common to disable auto updates & update checks [[1]](https://github.com/NixOS/nixpkgs/blob/95dfb1b8bebe77fb9444c23147b833625703386a/pkgs/by-name/no/notes/package.nix#L25)
> 
> ## Ask
> 
> Would it be possible to do either one of these:
> 
> 1. Never do an upgrade check for the `completion` sub command. This would prevent the upgrade check from happening when loading shell completions. I believe it would still correctly show that a new version is available when running and actual `sprite` command.
> 2. If `UPGRADE_CHECK` is explicitly set to `false`, then never perform an upgrade check. This gives more flexibility to the user to control if they want upgrade checks from happening at all.

I also have an [open PR](https://github.com/ohmyzsh/ohmyzsh/pull/13703) for oh-my-zsh for a sprite plugin that I’m currently using which exposes this behavior.

---

<div class="post-metadata">

**Author:** ![michaelp](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michaelp/32/48442_2.png) [@michaelp](https://community.fly.io/u/michaelp)\
**Post date:** [October 14, 2026, 1:49am UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/5 "2026-10-14T01:49:22Z")

</div>

Hey @jonstacks13, makes sense that you’d want this. I’ve submitted a PR internally about this and hopefully this’ll land (both fixes) in a new sprites CLI version soon 🙂

---

<div class="post-metadata">

**Author:** ![michaelp](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michaelp/32/48442_2.png) [@michaelp](https://community.fly.io/u/michaelp)\
**Post date:** [October 20, 2026, 2:33am UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/6 "2026-10-20T02:33:54Z")

</div>

The Sprites team has just released a new version of the CLI (2026-10-20) that this should be fixed in. Run `sprite upgrade` to grab the latest!

- Never perform an upgrade check for the `completion` subcommand
- If `UPGRADE_CHECK` is explicitly set to `false`, then never perform an upgrade check.

Cheers again for reporting @jonstacks13!

---

<div class="post-metadata">

**Author:** ![jonstacks13](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jonstacks13/32/50862_2.png) [@jonstacks13](https://community.fly.io/u/jonstacks13)\
**Post date:** [October 20, 2026, 6:13am UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/7 "2026-10-20T06:13:42Z")

</div>

Thank you so much, @michaelp! I have a PR open to nixpkgs for updating [sprite: 0.0.1-rc48 -\> 2026-10-20 by jonstacks · Pull Request #576253 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/576253) 🤞

---

<div class="post-metadata">

**Author:** ![jonstacks13](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jonstacks13/32/50862_2.png) [@jonstacks13](https://community.fly.io/u/jonstacks13)\
**Post date:** [October 27, 2026, 1:43pm UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/8 "2026-10-27T13:43:33Z")

</div>

@michaelp Could you, or someone from the fly team, comment on the [nixpkgs PR](https://github.com/NixOS/nixpkgs/pull/576253#issuecomment-6287284125) to answer the question that the maintainer has? I gave it my best guess from installing the CLI and testing out an upgrade. Think it might help to have an official response. 🙏

---

<div class="post-metadata">

**Author:** ![michaelp](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/michaelp/32/48442_2.png) [@michaelp](https://community.fly.io/u/michaelp)\
**Post date:** [October 28, 2026, 7:32am UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/9 "2026-10-28T07:32:51Z")

</div>

Have done! I’m also looking at getting that documentation updated so there isnt any confusion 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [November 7, 2026, 7:33am UTC](https://community.fly.io/t/sprite-cli-disable-upgrade-checks/28790/10 "2026-11-07T07:33:04Z")

</div>

Closed on November 7, 2026, 7:33am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
