Hi! It looks like since sprites moved more into the 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
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.
@mayailurus Appreciate the clarification and thank you for adding the wishlist tag.
sprite --version sprite version v0.0.1-rc44When 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 to set
UPGRADE_CHECK=falsetrying 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]Ask
Would it be possible to do either one of these:
- Never do an upgrade check for the
completionsub 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 actualspritecommand.- If
UPGRADE_CHECKis explicitly set tofalse, 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 for oh-my-zsh for a sprite plugin that I’m currently using which exposes this behavior.
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 ![]()
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
completionsubcommand - If
UPGRADE_CHECKis explicitly set tofalse, then never perform an upgrade check.
Cheers again for reporting @jonstacks13!
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 ![]()
@michaelp Could you, or someone from the fly team, comment on the nixpkgs PR 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. ![]()
Have done! I’m also looking at getting that documentation updated so there isnt any confusion ![]()